Share this page

# TrendReports/{ID} XML

The fields in the response are listed below.

Element | Description
--- | ---
TrendReport | The root element.
Project | The project to which the run belongs. The project can be different than the project of the report.
TestSetId | The ID of the test set that contains the executed test.
TestId | The Test ID.
RunId | The Run ID.
TrendedRanged | (Optional) The range of the run to add to the report. Default: If the performance test is defined with a trend range and an action to be taken when the maximum number of runs has been reached, this will be taken into consideration; otherwise it will be the entire run.

Response example:

The following is an example of a response that was captured in proxy.

Copy code

    HTTP/1.1 200 OK
    Cache-Control: no-cache
    Pragma: no-cache
    Content-Type: application/xml; charset=utf-8
    Expires: -1
    Server: Microsoft-IIS/8.5
    X-FRAME-OPTIONS: SAMEORIGIN
    Date: Wed, 25 Nov 2015 16:36:22 GMT
    Content-Length: 976

    <TrendReport xmlns="http://www.hp.com/PC/REST/API">
        <Name>Trend1</Name>
        <ID>5</ID>
        <BaselineID>1</BaselineID>
        <TrendedRuns>
           <TrendedRun>
                <RunID>1</RunID>
                <RunDate>2015-11-18T17:03:45</RunDate>
                <State>Trended</State>
                <Duration>2</Duration>
                <FromTime>N/A</FromTime>
                <ToTime>N/A</ToTime>
                <ProjectName>PC_SQL_DB</ProjectName>
           </TrendedRun>
           <TrendedRun>
                <RunID>3</RunID>
                <RunDate>2015-11-19T10:33:52</RunDate>
                <State>Trended</State>
                <Duration>3</Duration>
                <FromTime>N/A</FromTime>
                <ToTime>N/A</ToTime>
                <ProjectName>PC_SQL_DB</ProjectName>
           </TrendedRun>
        </TrendedRuns>
    </TrendReport>

See also:

- Add a trend report
- Add run to trend report and get data by ID
- Get trend report by ID
- Get all trend reports
- Set trend reports baseline
- Get or download trend report in XML format/file

Tips to improve your search results... OpenText™ Enterprise Performance Engineering API Reference OpenText™ Enterprise Performance Engineering All View Local Help Center View Online Help Center(Undefined variable: _rscC_Basic_Variables.VersionLabel)