POST Test Execution Create Method

This method returns a list of all tests.

Syntax:

POST /api/test_execution/create

Curl

$> curl 'http://localhost:8080/api/test_execution/create' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 'Content-Type: application/json' --data-binary '{"test_id": "58c27861444553252c110000","script_path":"C:/Users/justinc/Documents/random.suite/Scripts/_master.script"}'

Raw Request

POST /api/test_execution/create HTTP/1.1

Host: localhost:8080

Content-Length: 124

Authorization: Basic YWRtaW46YWRtaW4=

Content-Type: application/json

 

{"test_id": "58c27861444553252c110000","script_path":"C:/Users/testplant/Documents/regression.suite/Scripts/_master.script"}

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": null,

"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 2月 01, 2019, at 11:13:23 午前.

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