Project Date
demo 26 Apr 2022, 05:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
at/htl/beeyond/integration/application/custom/custom-application-creation.feature 70 0 0 0 0 70 10 0 10 1.883 Passed
Feature at/htl/beeyond/integration/application/custom/custom-application-creation.feature
Custom application creation endpoint
0.090
* url baseUrl 0.000
* path 'application/custom' 0.016
* def nginxDeployment = read('classpath:at/htl/beeyond/integration/util/nginx-deployment.yml.txt') 0.005
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.068
Tags: @student
1.390
Given request 0.000
{
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 1.390
Then status 201 0.000
0.009
* url baseUrl 0.000
* path 'application/custom' 0.002
* def nginxDeployment = read('classpath:at/htl/beeyond/integration/util/nginx-deployment.yml.txt') 0.001
* configure headers = {Authorization: '#(auth(karate.tags))'} 0.004
Tags: @student
0.036
Given request 0.000
{
  "content": "#(nginxDeployment)",
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 0.036
Then status 201 0.000
0.006
* 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.005
Tags: @student
0.067
Given request 0.000
{
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 0.059
Then status 422 0.000
And match response contains { "message": "This field cannot be empty", "value": "", "key": "content" } 0.007
0.006
* 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.005
Tags: @student
0.017
Given request 0.000
{
  "content": "",
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 0.017
Then status 422 0.000
And match response contains { "message": "This field cannot be empty", "value": "", "key": "content" } 0.000
0.008
* 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.007
Tags: @student
0.000
0.007
* 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.005
Tags: @student
0.082
Given request 0.058
{
  "note": "#(generateString())",
  "content": "#(content)",
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 0.023
Then status 422 0.000
And match response contains { "message": "This field needs to be between 0 and 255 characters", "value": "#ignore", "key":"note"} 0.000
0.006
* 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.005
Tags: @student
0.036
Given request 0.000
{
  "id": 9999,
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 0.036
Then status 201 0.000
0.005
* 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.004
Tags: @student
0.031
Given request 0.000
{
  "status": "APPROVED",
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 0.031
Then status 201 0.000
0.003
* 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
Tags: @student
0.038
Given request 0.000
{
  "owner": {
    "name": "stuetz",
    "id": 9
  },
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 0.038
Then status 201 0.000
0.003
* 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
Tags: @student
0.035
Given request 0.000
{
  "createdAt": "2021-02-10T22:42:57.620598",
  "note": "Nginx Deployment",
  "content": "#(nginxDeployment)",
  "namespace": "student-moritz",
  "class": "5AHIF",
  "to": "18.01.2022",
  "purpose": "SYP"
}
When method POST 0.035
Then status 201 0.000