*
url baseUrl + '/template'
0.000
*
configure headers = { Authorization: '#(auth(karate.tags))' }
0.000
*
def insertTemplate = read('classpath:at/htl/beeyond/integration/util/create-template.feature')
0.000
*
def insertTemplateResponse = call insertTemplate
0.031
at/htl/beeyond/integration/util/create-template.feature
0.000
> *
path 'template'
0.000
> *
configure headers = {Authorization: '#(auth(karate.tags))'}
0.004
> *
def content = read('classpath:at/htl/beeyond/integration/util/nginx-deployment-template.yml.txt')
0.000
> Given
request
0.000
{
"name": "Nginx Deployment",
"description": "Static Webserver",
"content": "#(content)",
"fields": [
{
"label": "Server count",
"wildcard": "replica",
"description": "How many server should there be?"
},
{
"label": "Port of your saver",
"wildcard": "port",
"description": "This will be the port that will be exposed to the world"
}
]
}
> Given
url responseHeaders['Location'][0]
0.000
> Then
def template = response
0.000
*
def template = insertTemplateResponse.template
0.000