Add a Trend Report
Available in versions: 2022 R1 and later
Description
Creates a new Trend Report.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/TrendReports
HTTP Method
POST: Creates a Trend Report.
Request
Headers:
One of the following:
Content-Type: application/xml
Content-Type: application/json
Content-Length: {length}
Host: {PCServer}
Cookies:
LWSSO_COOKIE_KEY={LwssoCookie};
Request Body:
POST: XML or JSON describing the trend report.
Element | Description |
---|---|
Name | Must be unique. |
Description | (Optional) The report description. |
Response
Headers:
Location is a response header. It holds a URL for getting the created entity.
Location : http://<LRE_Server>/LoadTest/rest/domains/{domainName}/projects/{projectName}/TrendReports/40
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
Upon success, returns HTTP status 200 (OK).
HTML Body:
Returns the data on the entity in the response which includes the new ID.
See Also
Add run to Trend Report and get data by ID
Get Trend Reports by ID
TrendReports/{ID} XML
Get all Trend Reports
Set Trend Reports Baseline
Get or download Trend Report in XML format/file