Project Date
demo 27 Apr 2022, 18:37

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
at/htl/beeyond/integration/application/application-get.feature 38 0 0 0 0 38 2 0 2 0.147 Passed
Feature at/htl/beeyond/integration/application/application-get.feature
Get application endpoint
0.056
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.000
* call insertApplication 0.028
at/htl/beeyond/integration/util/create-application.feature 0.000
> * url baseUrl 0.000
> * path 'application/custom' 0.000
> * def nginxDeployment = read('classpath:at/htl/beeyond/integration/util/nginx-deployment.yml.txt') 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.002
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "student-stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.014
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.007
> Then def application = response 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.016
When method GET 0.015
Then status 200 0.000
And assert response.length == 1 0.000
0.064
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.001
* call insertApplication 0.032
at/htl/beeyond/integration/util/create-application.feature 0.000
> * url baseUrl 0.000
> * path 'application/custom' 0.000
> * def nginxDeployment = read('classpath:at/htl/beeyond/integration/util/nginx-deployment.yml.txt') 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "student-stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.016
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.012
> Then def application = response 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
Tags: @student
0.010
When method GET 0.009
Then status 200 0.000
And assert response.length == 0 0.000