Project Date
demo 19 Apr 2022, 09:10

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 3.423 Passed
Feature at/htl/beeyond/integration/application/application-start.feature
Start application endpoint
1.297
* 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.001
> Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "stuetz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
> When method POST 0.024
> Then status 201 0.000
> Given url responseHeaders['Location'][0] 0.000
> When method GET 0.052
> 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.028
> 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.470
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.458
> 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.052
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.001
> When method PATCH 0.046
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.138
Given path 'approve/'+application.id 0.000
When method PATCH 0.053
Given path 'application', 'stop/'+application.id 0.000
When method PATCH 0.038
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.043
Then status 200 0.000
0.359
* 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.037
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.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.028
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.014
> 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.075
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.069
> 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.043
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.039
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.010
Given path 'start/100' 0.000
When method PATCH 0.009
Then status 404 0.000
0.314
* 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.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.000
> * configure headers = {Authorization: '#(auth(karate.tags))'} 0.009
> 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.019
> 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.045
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.000
> When method PATCH 0.040
> 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.032
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.027
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.009
Given path '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.327
* 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.036
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.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.000
* def insertRunningApplicationResponse = call insertRunningApplication 0.028
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.016
> 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.031
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.024
> 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.072
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.068
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.012
Given path 'deny/'+application.id 0.000
When method PATCH 0.005
Given path 'application', 'start/'+application.id 0.000
When method PATCH 0.006
Then status 422 0.000
And match response == 'Application is not in state STOPPED' 0.000
0.263
* 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.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.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.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.000
* def insertRunningApplicationResponse = call insertRunningApplication 0.028
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.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.034
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.000
* call stopApplication {id: '#(id)'} 0.032
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.029
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @teacher
0.120
Given path 'approve/'+application.id 0.000
When method PATCH 0.047
Given path 'application','finish/'+application.id 0.000
When method PATCH 0.063
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.271
* 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.035
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.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.000
* def insertRunningApplicationResponse = call insertRunningApplication 0.034
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.009
> 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.036
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.033
> 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.033
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.028
> 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.225
* 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.001
> 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.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.000
* def insertRunningApplicationResponse = call insertRunningApplication 0.024
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.012
> 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.023
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.019
> 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.029
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.024
> Then status 200 0.000
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.000
Tags: @student
0.062
Given path 'start/'+id 0.000
When method PATCH 0.062
Then status 200 0.000