Eggplant Performance Test Controller:
GET Test Run Status Method
This 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
| Parameter | Type | Description |
|---|---|---|
| status | String |
The overall status of the test. Possible values are:
|
| startTime | String | The time the test was started |
| pending | Integer | The number of VUs in the pending state |
| running | Integer | The number of VUs in the running state |
| completed | Integer | The number of VUs in the completed state |
| aborted | Integer | The number of VUs in the aborted state |
| inError | Integer | The number of VUs in the error state |
| unknown | Integer | The number of VUs whose state is unknown |
| errors | Integer | The total number of errors that have occurred |
| warnings | Integer | The total number of warnings that have occurred |
| passes | Integer | The total number of progress points that have passed |
| fails | Integer |
The total number of progress points that have failed |
Example Request
http://localhost:5001/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/status
Example Response
{
"status": "Completed",
"startTime": "2016-09-17T05:45:33.656000+00:00",
"warnings": 0,
"completed": 1,
"fails": 0,
"running": 0,
"aborted": 0,
"passes": 0,
"inError": 0,
"errors": 0,
"unknown": 0,
"pending": 0
}