Project Date
demo 29 Mar 2022, 15:01

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.043 Passed
Feature at/htl/beeyond/integration/application/application-start.feature
Start application endpoint
1.497
* 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.083
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.056
> 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.002
* 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.018
> 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.529
at/htl/beeyond/integration/util/approve-student-application.feature 0.000
{
  "id": 10
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.006
> Given path 'application/approve/'+id 0.000
> When method PATCH 0.517
> 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.103
at/htl/beeyond/integration/util/stop-student-application.feature 0.000
{
  "id": 10
}
> * url baseUrl 0.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.003
> Given path 'application/stop/'+id 0.000
> When method PATCH 0.094
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.187
Given path 'approve/'+application.id 0.000
When method PATCH 0.052
Given path 'application', 'stop/'+application.id 0.000
When method PATCH 0.078
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.055
Then status 200 0.000
0.360
* 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.044
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.025
> 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.038
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.020
> 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.000
* call approveApplication {id: '#(id)'} 0.056
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.050
> 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": 12
}
> * 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.007
Given path 'start/100' 0.000
When method PATCH 0.007
Then status 404 0.000
0.348
* 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.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": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.018
> 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.025
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.013
> 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.071
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.067
> 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.009
Then status 422 0.000
And match response == 'Application is not in state STOPPED' 0.000
0.356
* 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.051
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.030
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.014
> 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.042
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.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.053
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.048
> 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.035
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.031
> 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.003
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.410
* 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.043
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.022
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.014
> 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.001
> * 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.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.033
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.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.083
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.079
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.094
Given path 'approve/'+application.id 0.000
When method PATCH 0.044
Given path 'application','finish/'+application.id 0.000
When method PATCH 0.028
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.020
Then status 422 0.000
And match response == 'Application is not in state STOPPED' 0.000
0.362
* url baseUrl 0.000
* path 'application' 0.000
* def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature') 0.000
* 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.018
> 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.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.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.000
* call approveApplication {id: '#(id)'} 0.039
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.035
> 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.074
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.070
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @student
0.008
Given path 'start/'+application.id 0.000
When method PATCH 0.008
Then status 403 0.000
0.350
* 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.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.002
> * 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.019
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.008
> 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.006
* 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.002
> 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.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.072
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.067
> Then status 200 0.000
* def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature') 0.000
* call stopApplication {id: '#(id)'} 0.041
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.035
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @student
0.033
Given path 'start/'+id 0.000
When method PATCH 0.032
Then status 200 0.000