Configure automatic trending

This section explains how to automatically publish trend reports for your performance tests.

About automatic trending

Automatic trending enables you to publish trend reports automatically without having to manually run the collate, analyze, and publish process. Automatic trending can only be configured on a per-test basis, not per-run.

You can configure automatic trending using the LoadRunner Enterprise user interface or the LoadRunner Enterprise REST API.

Note: The trend report is not published (even if the test is marked for trending), if the results fail to be collated or analyzed for any reason.

Back to top

Configure automatic trending from the user interface

This section explains how to configure automatic trending using the LoadRunner Enterprise user interface.

  1. In the test management tree, select a performance test and click Edit Test.

  2. In the test summary pane, click the Trending dropdown.

  3. In the Trending Settings dialog box, select Create Automatic Trending (by default, Trending settings are Off).

  4. In the Trend Report box select an existing report, or click Create trend report to create a new report. When creating a new trend report, enter a name and description (optional) for the report in the Create New Trend Report dialog box, and then click Create.

  5. In the Trending Settings dialog box, select the range to include in the trend report in Trend Range:

    • Trend complete run. Includes data for the whole test run in the report.

    • Trend part of run. Includes data for the time range specified. Enter the start and end time for including data in the report.

  6. Enter the maximum number of runs (between 1-20) to publish in the report.

    Trends are automatically added to the trend report when the automatic trend task runs. Test runs that require analysis are added after an additional run cycle.

  7. Select the action to take when the maximum number of runs has been reached:

    • Delete first run and set new baseline.

    • Do not publish additional runs.

  8. Click OK. Automatic trending is enabled for the test, and Trending is displayed as On in the Summary pane.

Back to top

Configure automatic trending using the REST API

You can configure automatic trending using the LoadRunner Enterprise REST API. For details, see test entity XML.

Back to top

See also: