Get all tests
Description
Gets all existing tests in the project.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/tests
HTTP method
GET: Returns the tests in the body of the response.
Request
Headers:
Accept: application/xml
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/MyDomain/projects/MyProject/tests
Response
Headers:
Content-Type: application/xml
Cookies:
None
HTML return code:
One of the HTTP return codes
HTML body:
The XML containing the tests.
Response example:
<Tests xmlns="http://www.hp.com/PC/REST/API">
<Test>
<ID>176</ID>
<Name>Test_a</Name>
<CreatedBy>rnd_qa</CreatedBy>
<LastModified>3/4/2024 1:55:53 AM</LastModified>
<TestFolderPath>Subject\TestFolder01</TestFolderPath>
</Test>
<Test>
<ID>177</ID>
<Name>Test_b</Name>
<CreatedBy>rnd_qa</CreatedBy>
<LastModified>3/4/2024 1:59:09 AM</LastModified>
<TestFolderPath>Subject\TestFolder01</TestFolderPath>
</Test>
<Test>
<ID>178</ID>
<Name>Test_c</Name>
<CreatedBy>rnd_qa</CreatedBy>
<LastModified>3/4/2024 2:02:55 AM</LastModified>
<TestFolderPath>Subject\TestFolder01</TestFolderPath>
</Test>
</Tests>
See also: