Test Run Status
This Eggplant Performance Test Controller REST method gets the current status of the test run.
URL
/test_controller/api/1.0/<workspace>/<project>/<test>/status
HTTP Method
GET: Gets the current status of the test run
Response Parameters
Possible test status values
- Not created
- Created
- Initializing
- Initialization failed
- Running
- Stopping at end of iteration
- Stopping immediately
- Aborting
- Closing down
- Close down failed
- Completed
- Cancelled
- File retrieval was cancelled
Parameter | Type | Description |
---|---|---|
status | String | The overall status of the test. See Possible test status values above. |
startTime | String | The time the test was started. |
warnings | Integer | The total number of warnings that have occurred. |
completed | Integer | The number of VUs in the completed state. |
fails | Integer | The total number of progress points that have failed. |
running | Integer | The number of VUs in the running state. |
aborted | Integer | The number of VUs in the aborted state. |
vuStartTime | String | The time the VU(s) started. |
inError | Integer | The number of VUs in the error state. |
errors | Integer | The total number of errors that have occurred. |
unknown | Integer | The number of VUs whose state is unknown. |
runNumber | Integer | The test run number. |
passes | Integer | The total number of progress points that have passed. |
pending | Integer | The number of VUs in the pending state. |
Example Request
http:/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/status
Example Response
{
"status": "Completed",
"startTime": "2022-01-31T11:33:22.600000+00:00",
"warnings": 0,
"completed": 4,
"fails": 0,
"running": 0,
"aborted": 0,
"vuStartTime": "2022-01-31T11:33:25.324000+00:00",
"inError": 0,
"errors": 9,
"unknown": 0,
"runNumber": 33,
"passes": 0,
"pending": 0
}