POST Test Update Method
This method returns the updated test.
Syntax:
POST /api/test/<id>/update
Curl
$> curl 'http://localhost:8080/api/test/5907bc514445534540360000/update' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 'Content-Type: application/json' --data-binary $'{"name": "New Test with a new name"}'
Raw Request
POST /api/test/5907bc514445534540360000/update HTTP/1.1
Host: localhost:8080
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/json
Content-Length: 36
{"name": "New Test with a new name"}
Write Keys
Parameter | Type |
---|---|
name | String |
description | String |
version | String |
is_active | Boolean |
test_level_epf_arguments | String |
notification_email | String |
abort_timeout | Integer |
stop_on_failure | Boolean |
sut_id | Id |
managed_application_id | Id |
Response Body
{
"_id": "5907bc514445534540360000",
"created_at": "2017-05-01T22:53:05.991Z",
"updated_at": "2017-05-01T22:55:10.049Z",
"name": "New Test with a new name",
"description": null,
"version": null,
"is_active": true,
"test_level_epf_arguments": null,
"notification_email": null,
"abort_timeout": 60,
"stop_on_failure": false,
"sut_id": null,
"managed_application_id": null,
"test_executions": []
}