Get run status by ID
Description
Gets the XML representation of the run status by the specified run ID.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs/{runID}
Remarks
The URL for the run data is found in the Location header returned by Start a test run.
HTTP Method
GET: Returns the Run Status XML.
Request
Headers:
None
Cookies:
Version 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie}; |
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie}; |
Request Body:
None
GET http://<LRE_Server>/LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs/80
Response
Headers:
Content-Type: application/xml
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
HTML Body:
See Run Status XML
<Run xmlns="http://www.hp.com/PC/REST/API">
<TestID>176</TestID>
<TestInstanceID>8</TestInstanceID>
<PostRunAction>Collate Results</PostRunAction>
<TimeslotID>1091</TimeslotID>
<VudsMode>false</VudsMode>
<ID>12</ID>
<Duration>0</Duration>
<RunState>Running</RunState>
<RunSLAStatus>Not Completed</RunSLAStatus>
</Run>
See Also