Run result by ID

Description

Returns the metadata for a single run result (per the specified result ID).

URL

Copy code
/LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs/{ID}/Results/{result ID}

Remarks

To get the report data, request Run results for specified run.

HTTP method

GET: Returns the report metadata in the body of the response.

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:

Copy code
GET http://<LRE_Server>/LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs/10/Results/20

Response

Headers:

Content-Length:x

Content-Type: application/xml

Cookies:

None

HTML return code:

One of the HTTP return codes.

HTML body:

The XML containing the metadata.

Results example:

Copy code
<RunResult xmlns="http://www.hp.com/PC/REST/API">
    <ID>1061</ID>
    <Name>Reports.zip</Name>
    <RunID>14</RunID>
    <Type>HTML Report</Type>
</RunResult>

See also: