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 | Cookie |
---|---|
2020 or later | LWSSO_COOKIE_KEY={LwssoCookie}; |
Earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie}; |
Request body:
None
Request example:
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
Response example:
<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: