Get all runs
Description
Gets all runs in the project.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs
HTTP Method
GET: Returns the runs in the body of the response.
Request
Headers:
Accept: application/xml
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/MyDomain/projects/MyProject/Runs
Response
Headers:
Content-Type: application/xml
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
HTML Body:
The XML containing the runs.
<Runs xmlns="http://www.hp.com/PC/REST/API">
<Run>
<TestID>178</TestID>
<TestInstanceID>10</TestInstanceID>
<PostRunAction>Do Not Collate</PostRunAction>
<TimeslotID>1159</TimeslotID>
<VudsMode>false</VudsMode>
<ID>13</ID>
<Duration>0</Duration>
<RunState>Before Collating Results</RunState>
<RunSLAStatus>Not Completed</RunSLAStatus>
</Run>
<Run>
<TestID>177</TestID>
<TestInstanceID>9</TestInstanceID>
<PostRunAction>Collate Results</PostRunAction>
<TimeslotID>1158</TimeslotID>
<VudsMode>false</VudsMode>
<ID>12</ID>
<Duration>1</Duration>
<RunState>Before Creating Analysis Data</RunState>
<RunSLAStatus>Not Completed</RunSLAStatus>
</Run>
<Run>
<TestID>176</TestID>
<TestInstanceID>8</TestInstanceID>
<PostRunAction>Collate And Analyze</PostRunAction>
<TimeslotID>1157</TimeslotID>
<VudsMode>false</VudsMode>
<ID>11</ID>
<Duration>0</Duration>
<RunState>Finished</RunState>
<RunSLAStatus>Not Completed</RunSLAStatus>
</Run>
</Runs>
See Also