Share this page

# Get all Trend Reports

Available in versions: 12.55 and later

## Description

Gets all existing Trend Reports.

## URL

Copy code

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

## HTTP Method

GET: Returns the Trend Report response.

## Request

Headers:

None

Cookies:

Version 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

None

Request Example
Copy code

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

## Response

Headers:

Content-Type: application/xml

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

The XML containing the metadata.

## Examples

Results Metadata
Copy code

    <TrendReports xmlns="http://www.hp.com/PC/REST/API">
      <TrendReport>
        <Name>TR_1</Name>
        <ID>5</ID>
        <BaselineID>1</BaselineID>
        <TrendedRuns>
          <TrendedRun>
            <RunID>6</RunID>
            <RunDate>2017-04-09T14:43:06</RunDate>
            <State>Trended</State>
            <Duration>7</Duration>
            <FromTime>N/A</FromTime>
            <ToTime>N/A</ToTime>
            <ProjectName>PC_1255</ProjectName>
          </TrendedRun>
          <TrendedRun>
            <RunID>2</RunID>
            <RunDate>2017-04-09T14:12:22</RunDate
            ><State>Trended</State>
            <Duration>11</Duration>
            <FromTime>N/A</FromTime>
            <ToTime>N/A</ToTime>
            <ProjectName>PC_1255</ProjectName>
          </TrendedRun>
        </TrendedRuns>
      </TrendReport>
    </TrendReports>

## See Also

Add a Trend Report
Add run to Trend Report and get data by ID
Get Trend Reports by ID
TrendReports/{ID} XML
Set Trend Reports Baseline
Get or download Trend Report in XML format/file

Tips to improve your search results... LoadRunner Enterprise REST API Reference LRE REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)