POST Test Execution Update Method

This method returns the updated script.

Syntax:

POST /api/test_execution/update

Curl

$> curl 'http://localhost:8080/api/test_execution/5907c3d24445534540390000/update' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 'Content-Type: application/json' --data-binary '{"sut_id": "58c38f5d444553252cce0000"}'

Raw Request

POST /api/test_execution/5907c3d24445534540390000/update HTTP/1.1

Host: localhost:8080

Authorization: Basic YWRtaW46YWRtaW4=

Content-Type: application/json

Content-Length: 38

 

{"sut_id": "58c38f5d444553252cce0000"}

Write Keys

Parameter Type
description String
position Integer
update_each_execution Boolean
is_active Boolean
params String
command String
test_id Id
sut_id Id
managed_application_id Id
script_path String
do_checkout Boolean

Response Body

{

"_id": "5907c3d24445534540390000",

"created_at": "2017-05-01T23:25:06.552Z",

"updated_at": "2017-05-01T23:25:06.552Z",

"description": null,

"position": 2,

"update_each_execution": true,

"is_active": true,

"params": null,

"command": null,

"test_id": "58c27861444553252c110000",

"sut_id": "58c38f5d444553252cce0000",

"managed_application_id": null,

"script_path": "C:/Users/testplant/Documents/regression.suite/Scripts/_master.script",

"execution_type_id": 1

}

 

This topic was last updated on August 19, 2021, at 03:30:51 PM.

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