Here's a sample Response for the Execution Status REST API call:
{ "result": 0, "summary": { "SUCCESS": 4, "PRE_REQUISITE_FAILURE": 0, "QUEUED": 0, "NOT_EXECUTED": 0, "STOPPED": 0, "Total": 4, "ABORTED": 0, "FAILURE": 0 }, "status_text": "Completed", "message": "Execution completed", "status": 0 }
In this, each of the parameters can have the following values:
result:
PASSED-0, FAILED-1, ABORTED-2, NOT_EXECUTED-3, PRE_REQUISITE_FAILURE-4, QUEUED-5, STOPPED-6
status:
COMPLETED-0, IN_PROGRESS-2, ABORTED-3, NOT_EXECUTED-4, STOPPED-5
Other parameter like summary shows the total number of Test Cases for each status, status_text shows the status in text form, and message shows Execution result.