POST Execution Configuration Create Method
This method creates a test execution configuration.
Syntax:
CURL
Raw Request
POST /api/execution_configuration/create HTTP/1.1
Host: localhost:8080
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/json
Content-Length: 38
{"name": "New Config with a new name"}
Write Keys
Parameter | Type |
---|---|
name | String |
description | String |
run_with_best_effort | Boolean |
configuration_environments | Hash list |
The configuration_environments hash list should be an array of hashes that can contain zero or more of the following parameters:
Parameter | Type |
---|---|
arguments | String |
parameters | String |
sut_id | ID |
managed_application_id | ID |
Example Response
{
"_id":"5c17bd84be870fa445000005",
"created_at":"2018-12-17T08:15:16.996-07:00",
"updated_at":"2018-12-17T08:15:16.996-07:00",
"name":"New Config",
"description":null,
"run_with_best_effort":false,
"configuration_environments":[
{
"_id":"5c17bd84be870fa445000006",
"arguments":"-host 127.0.0.1",
"parameters":"",
"execution_configuration_id":"5c17bd84be870fa445000005",
"updated_at":"2018-12-17T15:15:16Z",
"created_at":"2018-12-17T15:15:16Z"
}
]
}