Get projects
Available in versions: 12.60 and later
Description
Gets the projects list for a domain for the authenticated user.
URL
/LoadTest/rest/domains/{domain}/projects
Remarks
None
HTTP method
GET: Returns the projects list for a domain for the authenticated user.
Request
Headers:
One of the following:
Content-Type: application/xml
Content-Type: application/json
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
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 project names.
Response examples:
<Projects xmlns="http://www.hp.com/PC/REST/API">
<Project>
<Name>PC</Name>
</Project>
<Project>
<Name>PC_VERSIONED</Name>
</Project>
</Projects>
[
{
"Name": "AUTOMATION_PROJECT_2024_3"
},
{
"Name": "project_chaos_KUzVX"
},
{
"Name": "project_chaos_KBJVj"
}
]
See also: