Share this page

# Get or download trend report in XML format/file

## Description

Gets trend report data of a specific run in XML format. You can also download trend report data of a specific run in the form of an XML file.

## URL

Copy code
Get Trend Report data in XML format:

    /LoadTest/rest/domains/{domainName}/projects/{projectName}/TrendReports/{TrendID}/{RunId}

Copy code
Download Trend Report data in the form of an XML file:

    /LoadTest/rest/domains/{domainName}/projects/{projectName}/TrendReports/{TrendID}/{RunId}/xml

## HTTP method

GET: Returns the trend report data for the specified run in XML format, or downloads it in the form of an XML file.

## 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 examples:

Copy code
Get Trend Report data of a specific run in XML format:

    GET http://<LRE_Server>/LoadTest/rest/domains/MyDomain/projects/MyProject/TrendReports/5/6

Copy code
Download Trend Report data of a specific run in the form of an XML file:

    GET http://<LRE_Server>/LoadTest/rest/domains/MyDomain/projects/MyProject/TrendReports/5/6/xml

## Response

Headers:

Content-Type: application/xml

Content-Disposition contains the file name in the filename field’s value

Cookies:

None

HTML return code:

One of the HTTP return codes

HTML body:

Content of the xml file.

Response examples:

Copy code
Get Trend Report data of a specific run in XML format:

    <Root>
      <RegularData>
        <RegularDataRow>
           <PCT_NAME>Run</PCT_NAME>
           <PCT_TYPE>VU</PCT_TYPE>
           <PCT_MINIMUM>0</PCT_MINIMUM>
           <PCT_MAXIMUM>1</PCT_MAXIMUM>
           <PCT_AVERAGE>0.333</PCT_AVERAGE>
           <PCT_MEDIAN>0</PCT_MEDIAN>
           <PCT_STDDEVIATION>0.471</PCT_STDDEVIATION>
           <PCT_SUM1>NaN</PCT_SUM1>
        </RegularDataRow>
        <RegularDataRow>
           <PCT_NAME>All</PCT_NAME>
           <PCT_TYPE>EPS</PCT_TYPE>
           <PCT_MINIMUM>2</PCT_MINIMUM>
           <PCT_MAXIMUM>6.8</PCT_MAXIMUM>
           <PCT_AVERAGE>5.556</PCT_AVERAGE>
           <PCT_MEDIAN>5.6</PCT_MEDIAN>
           <PCT_STDDEVIATION>0.707</PCT_STDDEVIATION>
           <PCT_SUM1>1678</PCT_SUM1>
        </RegularDataRow>
      </RegularData>
    </Root>

Copy code

Download Trend Report data of a specific run in the form of an XML file:

    HTTP/1.1 200 OK
    Cache-Control: no-cache
    Pragma: no-cache
    Content-Length: 186098
    Content-Type: text/xml
    Expires: -1
    Server: Microsoft-IIS/7.5
    Content-Disposition: attachment; filename=TrendReportID_5_RunID_6_Project_PC_1255.xml
    Date: Tue, 25 Apr 2017 12:51:55 GMT

See also:

- Add a trend report
- Add run to trend report and get data by ID
- Get trend report by ID
- TrendReports/{ID} XML
- Set trend reports baseline
- Get all trend reports

Tips to improve your search results... OpenText™ Enterprise Performance Engineering API Reference OpenText™ Enterprise Performance Engineering All View Local Help Center View Online Help Center(Undefined variable: _rscC_Basic_Variables.VersionLabel)