Project Date
demo 29 Mar 2022, 09:38

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.554 Passed
Feature at/htl/beeyond/integration/application/application-start.feature
Start application endpoint
1.444
* 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.099
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.028
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.064
> 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.047
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.025
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.014
> 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.493
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 10
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.010
> Given path 'application/approve/'+id 0.001
> When method PATCH 0.472
> 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.087
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 10
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.080
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
Tags: @teacher
0.283
Given path 'approve/'+application.id 0.000
When method PATCH 0.132
Given path 'application', 'stop/'+application.id 0.001
When method PATCH 0.079
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.068
Then status 200 0.000
0.539
* 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.049
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.002
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.026
> 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.051
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.001
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.025
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.010
> 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.001
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.049
> 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.120
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.114
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.003
Tags: @teacher
0.009
Given path 'start/100' 0.000
When method PATCH 0.008
Then status 404 0.000
0.500
* 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.064
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.021
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.024
> 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.052
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.029
> 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.095
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 14
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.001
> Given path 'application/approve/'+id 0.006
> When method PATCH 0.082
> 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.048
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.043
> 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.438
* 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.039
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.021
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.010
> 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.045
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.026
> 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.039
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.034
> 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.100
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 16
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.095
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.013
Given path 'deny/'+application.id 0.000
When method PATCH 0.004
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.008
Then status 422 0.000
And match response == 'Application is not in state STOPPED' 0.000
0.392
* 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.038
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.020
> 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.017
> 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.076
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.071
> 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.055
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.048
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.140
Given path 'approve/'+application.id 0.000
When method PATCH 0.094
Given path 'application','finish/'+application.id 0.000
When method PATCH 0.033
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.368
* 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.039
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.017
> 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.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.017
> 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.075
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.070
> 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.046
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 20
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.042
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @student
0.009
Given path 'start/'+application.id 0.000
When method PATCH 0.009
Then status 403 0.000
0.364
* 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.033
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.017
> 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.030
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.001
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "moritz",
  "class": "5AHIF",
  "to": "26.02.2023",
  "purpose": "SYP"
}
> When method POST 0.015
> 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.034
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.030
> 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.088
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.083
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @student
0.036
Given path 'start/'+id 0.000
When method PATCH 0.035
Then status 200 0.000