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
/LoadTest/rest/domains/{domainName}/projects/{projectName}/TrendReports/{TrendID}/{RunId}
/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 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
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.
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 all Trend Reports