Stop Test Result
7 min
The endpoint stops a running test plan. The user must provide the test plan ID in the path. If the plan is not running, the response will indicate that the action is not available.

Endpoint Information
- URL: <your-gateway-url>/stop/result
- Method: POST
- Authentication: Required (Bearer Token)
Request Body
{
"results": [614,615,312]
}Request Body Parameters #request-body-parameters
Field | Type | Description |
|---|---|---|
results | List<Long> | List of test result IDs |
Response Body #error-codes
{
"data": null,
"errors": null
}Parameter | Type | Description |
|---|---|---|
data | Object | The payload of the response. In this case null since no extra data is returned. |
Error Codes #error-codes
HTTP Code | Error Message | Description |
|---|---|---|
401 | UNAUTHORIZED | The request lacks valid authentication credentials. Check your Bearer token. |
400 | INVALID_REQUEST | The request was malformed or contained errors. |
500 | INTERNAL_SERVER_ERROR | An unexpected error occurred on the server side. |
Example Request
curl --location '<your-gateway-url>/stop/result' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ****' \
--data '{
"results": [32963]
}'