POST Execution Configuration Create Method

This method creates a test execution configuration.

Syntax:

POST /api/execution_configuration/create

CURL

$> curl 'http://localhost:8080/api/execution_configuration/create' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 'Content-Type: application/json' --data-binary '{"name": "New Config", "configuration_environments":[{"arguments":"-host 127.0.0.1"}]}'

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"

}

]

}

 

This topic was last updated on June 21, 2019, at 02:49:49 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant