Open topic with navigation

# Run Statistics (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

    /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 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie};
Versions 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.

Response Example

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

The fields in the response are:

- `AnalyzedResultsCompressedSize` - The size of the Analysis file (compressed)
- `AnalyzedResultsExpandedSize` - The size of the Analysis file (expanded)
- `RawResultsCompressedSize` - The size of RawResults file (compressed)
- `TotalExpandedResultsFolderSize` - The size of the Analysis folder (expanded)

## See Also

Get Run Status