Get all Trend Reports
Available in versions: 12.55 and later
Description
Gets all existing Trend Reports.
URL
/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
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
<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