But first things first: You need a running system under test in order to test it.
We prepared a simple api-application on Github which you'll deploy on openshift in this step.
Thanks to Openshifts capabilites to deploy applications from a Dockerfile this requires only a few steps.
First of all you need a Openshift Project, so login to the OpenShift cluster:
oc login -u developer -p developer
This will log you in using the credentials:
oc new-project todo-api-sut
to create a new Project todo-api-sut in Openshift (this project is automatically set as your active project).
Now you can deploy he application by the Dockerfile directly from Github.
oc new-app https://github.com/tnobody/todo-example-api.git --name=todo-api
Since the deployment might take a little time you can follow the progress with:
oc logs bc/todo-api --follow
This will create the application on Openshift. To have access to this application as an endpoint you have to create a Route with:
oc expose svc/todo-api
If everything works fine you should access the [index page] (http://todo-api-todo-api-sut.[[HOST_SUBDOMAIN]]-80-[[KATACODA_HOST]].environments.katacoda.com).