Configure automatic trending
This section explains how to automatically publish trend reports for your performance tests.
In this topic:
- About automatic trending
- Configure automatic trending from the user interface
- Configure automatic trending using the REST API
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.
Configure automatic trending from the user interface
This section explains how to configure automatic trending using the LoadRunner Enterprise user interface.
-
Select a performance test in the test management tree and click Edit Test.
-
In the Performance Test Designer window, click the dropdown arrow adjacent to Trending in the Summary pane, and select Create Automatic Trending to configure trend settings for a test (by default, Trending settings are Off).
-
Enter a name for the trend report, and configure trend settings for a test, or select an existing report. LoadRunner Enterprise uses these settings to automatically publish trend results without you having to manually run the collate, analyze, or publish process.
-
In the Performance Test Designer window, click the
Select Automatic Trending Options button adjacent to the Trending box to configure trend settings for a test.
-
In the Trend Settings dialog box, select Create Automatic Trending.
-
Click the Trend Report dropdown, and select:
-
An existing report to which to add the performance test run data from the list of available reports.
-
Create trend report and add the performance test run data to a new trending report. Enter the name of the new report in the Report box. For details, see Define a trend report.
-
-
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.
-
-
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.
-
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.
-
-
Click OK. Automatic trending is enabled for the test, and Trending is displayed as On in the Summary pane.
Configure automatic trending using the REST API
You can configure automatic trending using the LoadRunner Enterprise REST API. For details, see test entity XML.
See also: