Get run results file size

Available in versions: 12.55 and later

Description

Gets results file size for test runs that are in a state other than running or stopping.

URL

Copy code
/LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs/{RunID}/ResultsStatistics

Remarks

None

HTTP method

GET: Returns the results file size data.

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

Response

Headers:

Content-Type: application/xml

Cookies:

None

HTML return code:

One of the HTTP return codes

HTML body:

GET: The results file size data. The fields in the response are listed below.

ElementDescription
AnalyzedResultsCompressedSize The size of the Analysis file (compressed).
AnalyzedResultsExpandedSizeThe size of the Analysis file (expanded).
RawResultsCompressedSizeThe size of RawResults file (compressed).
TotalExpandedResultsFolderSizeThe size of the Analysis folder (expanded)

Response example:

Copy code
<RunStatistics xmlns="http://www.hp.com/PC/REST/API">
    <AnalyzedResultsCompressedSize>445964</AnalyzedResultsCompressedSize>
    <AnalyzedResultsExpandedSize>5364256</AnalyzedResultsExpandedSize>
    <RawResultsCompressedSize>63921</RawResultsCompressedSize>
    <TotalExpandedResultsFolderSize>593151</TotalExpandedResultsFolderSize>
</RunStatistics 

See also: