POST Execution Configuration Update Method

This method updates the configuration of a test execution.

Syntax:

POST /api/execution_configuration/<id>/update

CURL

$> curl 'http://localhost:8080/api/execution_configuration/5c17bd84be870fa445000005/update' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 'Content-Type: application/json' --data-binary '{"name": "New Config with a new name"}'

Raw Request

POST /api/execution_configuration/5c17bd84be870fa445000005/update HTTP/1.1

Host: localhost:8080

Authorization: Basic YWRtaW46YWRtaW4=

Content-Type: application/json

Content-Length: 34

{"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 with a new name",

"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 July 02, 2020, at 02:40:09 PM.

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