functionbuilder
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nathan Coad
2023-02-10 16:15:36 +11:00
parent 2e02b77d57
commit 54093c9106
23 changed files with 3215 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
}
]
}
"""