Get all test sets
Description
Gets all existing test sets in the project.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/testsets
HTTP Method
GET: Returns the test sets in the body of the response.
Request
Headers:
One of the following:
Content-Type: application/xml
Content-Type: application/json
Cookies:
Version 2020 (or later): LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020: LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};
Request Body:
None
Response
Headers:
One of:
Accept: application/xml
Accept: application/json
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
HTML Body:
The XML or JSON containing the test sets.
<TestSets xmlns="http://www.hp.com/PC/REST/API">
<TestSet>
<TestSetName>ts_21-03-2024-10_31-PM</TestSetName>
<TestSetParentId>1</TestSetParentId>
<TestSetID>100</TestSetID>
</TestSet>
<TestSet>
<TestSetName>TS_jRtvS</TestSetName>
<TestSetParentId>2</TestSetParentId>
<TestSetID>101</TestSetID>
</TestSet>
<TestSet>
<TestSetName>alex_t111112</TestSetName>
<TestSetParentId>1</TestSetParentId>
<TestSetID>102</TestSetID>
</TestSet>
<TestSet>
<TestSetName>lre_testset</TestSetName>
<TestSetParentId>1</TestSetParentId>
<TestSetID>103</TestSetID>
</TestSet>
</TestSets>
[
{
"TestSetID": 100,
"TestSetName": "ts_25-03-2024-11_25-PM",
"TestSetComment": null,
"TestSetParentId": 1
},
{
"TestSetID": 101,
"TestSetName": "TS_eIMRY",
"TestSetComment": null,
"TestSetParentId": 2
}
]
See Also
Create or get all folders in a test set
Create a test set
Delete a test set
Update test set name