Project Date
demo 29 Mar 2022, 06:28

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
at/htl/beeyond/integration/application/application-start.feature 363 0 0 0 0 363 7 0 7 4.269 Passed
Feature at/htl/beeyond/integration/application/application-start.feature
Start application endpoint
1.345
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.001
* def insertApplicationResponse = call insertApplication 0.094
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.001
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.023
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.066
> Then def application = response 0.000
* def application = insertApplicationResponse.application 0.000
* def insertRunningApplication = read('classpath:at/htl/beeyond/integration/util/create-student-application.feature') 0.001
* def insertRunningApplicationResponse = call insertRunningApplication 0.050
at/htl/beeyond/integration/util/create-student-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": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.024
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.016
> Then def runningApplication = response 0.000
* def id = insertRunningApplicationResponse.runningApplication.id 0.000
* def approveApplication = read('classpath:at/htl/beeyond/integration/util/approve-student-application.feature') 0.001
* call approveApplication {id: '#(id)'} 0.423
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 10
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.007
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.410
> Then status 200 0.000
* def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature') 0.002
* call stopApplication {id: '#(id)'} 0.107
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 10
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.102
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
Tags: @teacher
0.173
Given path 'approve/'+application.id 0.000
When method PATCH 0.041
Given path 'application', 'stop/'+application.id 0.001
When method PATCH 0.088
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.040
Then status 200 0.000
0.454
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.001
* def insertApplicationResponse = call insertApplication 0.052
at/htl/beeyond/integration/util/create-application.feature 0.000
> * url baseUrl 0.000
> * path 'application/custom' 0.002
> * def nginxDeployment = read('classpath:at/htl/beeyond/integration/util/nginx-deployment.yml.txt') 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.027
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.013
> Then def application = response 0.000
* def application = insertApplicationResponse.application 0.000
* def insertRunningApplication = read('classpath:at/htl/beeyond/integration/util/create-student-application.feature') 0.001
* def insertRunningApplicationResponse = call insertRunningApplication 0.040
at/htl/beeyond/integration/util/create-student-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": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.022
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.011
> Then def runningApplication = response 0.000
* def id = insertRunningApplicationResponse.runningApplication.id 0.000
* def approveApplication = read('classpath:at/htl/beeyond/integration/util/approve-student-application.feature') 0.001
* call approveApplication {id: '#(id)'} 0.057
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 12
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.051
> Then status 200 0.000
* def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature') 0.001
* call stopApplication {id: '#(id)'} 0.084
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 12
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.078
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
Tags: @teacher
0.010
Given path 'start/100' 0.000
When method PATCH 0.010
Then status 404 0.000
0.319
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.001
* def insertApplicationResponse = call insertApplication 0.056
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": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.027
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.016
> Then def application = response 0.000
* def application = insertApplicationResponse.application 0.000
* def insertRunningApplication = read('classpath:at/htl/beeyond/integration/util/create-student-application.feature') 0.001
* def insertRunningApplicationResponse = call insertRunningApplication 0.031
at/htl/beeyond/integration/util/create-student-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": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.018
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.008
> Then def runningApplication = response 0.000
* def id = insertRunningApplicationResponse.runningApplication.id 0.000
* def approveApplication = read('classpath:at/htl/beeyond/integration/util/approve-student-application.feature') 0.001
* call approveApplication {id: '#(id)'} 0.033
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 14
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.028
> Then status 200 0.000
* def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature') 0.001
* call stopApplication {id: '#(id)'} 0.045
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 14
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.041
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.011
Given path 'start/'+application.id 0.000
When method PATCH 0.010
Then status 422 0.000
And match response == 'Application is not in state STOPPED' 0.000
0.515
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.003
* def insertApplicationResponse = call insertApplication 0.053
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.001
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.023
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.012
> Then def application = response 0.000
* def application = insertApplicationResponse.application 0.000
* def insertRunningApplication = read('classpath:at/htl/beeyond/integration/util/create-student-application.feature') 0.001
* def insertRunningApplicationResponse = call insertRunningApplication 0.031
at/htl/beeyond/integration/util/create-student-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": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.018
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.007
> Then def runningApplication = response 0.000
* def id = insertRunningApplicationResponse.runningApplication.id 0.000
* def approveApplication = read('classpath:at/htl/beeyond/integration/util/approve-student-application.feature') 0.000
* call approveApplication {id: '#(id)'} 0.118
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 16
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.114
> Then status 200 0.000
* def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature') 0.002
* call stopApplication {id: '#(id)'} 0.062
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 16
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.005
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.051
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
Tags: @teacher
0.017
Given path 'deny/'+application.id 0.000
When method PATCH 0.003
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.011
Then status 422 0.000
And match response == 'Application is not in state STOPPED' 0.000
0.428
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.003
* def insertApplicationResponse = call insertApplication 0.040
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.001
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.019
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.011
> Then def application = response 0.000
* def application = insertApplicationResponse.application 0.000
* def insertRunningApplication = read('classpath:at/htl/beeyond/integration/util/create-student-application.feature') 0.001
* def insertRunningApplicationResponse = call insertRunningApplication 0.049
at/htl/beeyond/integration/util/create-student-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": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.033
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.011
> Then def runningApplication = response 0.000
* def id = insertRunningApplicationResponse.runningApplication.id 0.000
* def approveApplication = read('classpath:at/htl/beeyond/integration/util/approve-student-application.feature') 0.001
* call approveApplication {id: '#(id)'} 0.041
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 18
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.037
> Then status 200 0.000
* def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature') 0.001
* call stopApplication {id: '#(id)'} 0.085
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 18
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.081
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.078
Given path 'approve/'+application.id 0.000
When method PATCH 0.039
Given path 'application','finish/'+application.id 0.000
When method PATCH 0.029
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.007
Then status 422 0.000
And match response == 'Application is not in state STOPPED' 0.000
0.479
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.001
* def insertApplicationResponse = call insertApplication 0.056
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": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.030
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.009
> Then def application = response 0.000
* def application = insertApplicationResponse.application 0.000
* def insertRunningApplication = read('classpath:at/htl/beeyond/integration/util/create-student-application.feature') 0.001
* def insertRunningApplicationResponse = call insertRunningApplication 0.033
at/htl/beeyond/integration/util/create-student-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": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.019
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.008
> Then def runningApplication = response 0.000
* def id = insertRunningApplicationResponse.runningApplication.id 0.000
* def approveApplication = read('classpath:at/htl/beeyond/integration/util/approve-student-application.feature') 0.000
* call approveApplication {id: '#(id)'} 0.076
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 20
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.072
> Then status 200 0.000
* def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature') 0.001
* call stopApplication {id: '#(id)'} 0.081
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 20
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.002
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.075
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
Tags: @student
0.013
Given path 'start/'+application.id 0.000
When method PATCH 0.013
Then status 403 0.000
0.389
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.002
* def insertApplicationResponse = call insertApplication 0.040
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.001
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.020
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.011
> Then def application = response 0.000
* def application = insertApplicationResponse.application 0.000
* def insertRunningApplication = read('classpath:at/htl/beeyond/integration/util/create-student-application.feature') 0.001
* def insertRunningApplicationResponse = call insertRunningApplication 0.035
at/htl/beeyond/integration/util/create-student-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": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.017
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.012
> Then def runningApplication = response 0.000
* def id = insertRunningApplicationResponse.runningApplication.id 0.000
* def approveApplication = read('classpath:at/htl/beeyond/integration/util/approve-student-application.feature') 0.001
* call approveApplication {id: '#(id)'} 0.028
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 22
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.023
> Then status 200 0.000
* def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature') 0.001
* call stopApplication {id: '#(id)'} 0.092
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 22
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.087
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @student
0.032
Given path 'start/'+id 0.000
When method PATCH 0.032
Then status 200 0.000