Get Trend Reports by ID
Description
Returns a trend report in PDF format by the specified trend report ID.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/TrendReports/{ID}/data
Remarks
The PDF report generated by the API is hard-coded and cannot be configured by the user.
HTTP Method
GET: Returns a trend report in PDF format.
Request
Headers:
Content-Length: {length}
Host: {PCServer}
Cookies:
Version 2020 (or later): LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020: LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};
Request Body:
None
Response
Headers:
None
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
Upon success, returns HTTP status 200 (OK).
HTML Body:
Upon success, the response will contain the following information:
- The response header Content-Disposition contains the file name in the filename field’s value.
- The body of the request will contain the zipped file data.
See Also
Add a Trend Report
Add run to Trend Report and get data by ID
Add run to Trend Report and get data by ID
TrendReports/{ID} XML
Get all Trend Reports
Set Trend Reports Baseline
Get or download Trend Report in XML format/file