functionbuilder

This commit is contained in:
Nathan Coad
2023-02-10 15:15:53 +11:00
parent 7504ea61e8
commit 329f1e518c
27 changed files with 3343 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
Feature: Basic
# The secrects can be used in the payload with the following syntax #(mysecretname)
Background:
* def export-xlsxSecret = karate.properties['export-xlsxSecret']
Scenario: get request
Given url karate.properties['testURL']
And path '/'
And header Direktiv-ActionID = 'development'
And header Direktiv-TempDir = '/tmp'
And request
"""
{
"commands": [
{
"command": "ls -la",
"silent": true,
"print": false,
}
]
}
"""
When method POST
Then status 200
And match $ ==
"""
{
"export-xlsx": [
{
"result": "#notnull",
"success": true
}
]
}
"""