*
path 'application'
0.002
*
def insertApplication = read('classpath:at/htl/beeyond/integration/util/create-application.feature')
0.002
*
def insertApplicationResponse = call insertApplication
0.090
at/htl/beeyond/integration/util/create-application.feature
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"
}
> Given
url responseHeaders['Location'][0]
0.000
> 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.054
at/htl/beeyond/integration/util/create-student-application.feature
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"
}
> Given
url responseHeaders['Location'][0]
0.000
> 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.508
at/htl/beeyond/integration/util/approve-student-application.feature
0.000
> *
configure headers = {Authorization: '#(auth(karate.tags))'}
0.009
> Given
path 'application/approve/'+id
0.001
> When
method PATCH
0.492
*
def stopApplication = read('classpath:at/htl/beeyond/integration/util/stop-student-application.feature')
0.001
*
call stopApplication {id: '#(id)'}
0.122
at/htl/beeyond/integration/util/stop-student-application.feature
0.000
> *
configure headers = {Authorization: '#(auth(karate.tags))'}
0.004
> Given
path 'application/stop/'+id
0.001
> When
method PATCH
0.110
*
configure headers = {Authorization: '#(auth(karate.tags))'}
0.001