Cancel Test
Cancel an in-progress test run.
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
test_run_id |
string | Yes | UUID of the test run to cancel |
Example
curl -X POST http://localhost:3000/cancel-run \
-H "Content-Type: application/json" \
-d '{"test_run_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7"}'
Response (200)
If the run is already completed or failed:
Errors
| Status | Description |
|---|---|
400 |
test_run_id is required |
404 |
Test run not found |