POST Test Execution Create Method
This method returns a list of all tests.
Syntax:
Curl
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
}