This task describes the workflow for running a performance test, and the available options for managing the test run.
Version Control (if your project is version-enabled):
If you have checked out your test or related scripts, the checked-out versions are used. If another user has checked out the test or scripts and you want to run the test or script, the last checked-in version is used.
Make sure you have checked-in a test at least once before you attempt to run it (even when using the option to run a test that is not checked-in).
To learn more about running performance tests, see Running Performance Tests Overview.
Make sure that the performance test you want to run is valid. For details, see How to Design a Performance Test.
Tip: To simplify the process of creating, designing, and running performance tests, you can use
Test Express Designer to guide you through each step. For details, see Test Express Designer.
On the My Performance Center navigation bar, select Test Management > Test Lab. In the Test Lab module, create a test set that includes an instance of the performance test you want to run. For user interface details, see the Test Lab Module.
In the Performance Test Set pane, select a performance test and click RunTest. The Run Test dialog box opens, enabling you to reserve a timeslot for the test run. For user interface details, see Run Test Dialog Box.
Select an available timeslot and click Run. The Initializing Run page opens. The Initializing Run page displays the performance test initialization steps performed by Performance Center, and the status for each step. If each step is completed successfully, the performance test starts running and the Performance Test Run page opens.
You can override the defined schedules and manually control the behavior of Vusers during a performance test run.
For task details, see How to Manage Vusers During a Test Run.
You can stop, start, update, and load virtualized services during your performance test run.
For task details, see How to Manage Virtualized Services During a Test Run.
You can perform actions related to the status and management of runtime monitors, monitor over firewall machines, and load generators during a performance test run.
For task details, see How to Manage Monitoring and Load Generator Information During a Test Run.
You can manually stop a test run, for example, if you want to delay data collection and analysis until a more convenient time.
To stop the test run gradually. On the Performance Test Run page, click the Stop Run button . The Stop Run dialog box opens, which prompts you to select a post-run collation option (unless a post-run action was set by the system administrator for the project). Select an option, then click Stop. All Vusers in the test move to the Gradual Exiting state. For user interface details, see Stop Run Dialog Box.
To stop the test run immediately. After clicking the Stop button in the Stop Run dialog box, the Stop Run button on the Performance Test Run page changes to Stop Now . Click the button to stop all Vusers immediately.
You can also view performance measurements and results offline in the Offline Results page. For details, see View Results Offline.
You use LoadRunner Analysis to analyze test run data offline, from any computer on which Analysis is installed. For information on how to access your ALM Project from Analysis, see the LoadRunner Help Center (select the relevant version).
If there are SLAs defined for the performance test, you can calculate SLA results, and view these results in the Analysis Summary report and SLA report which can be accessed from the Test Run's Result tab or in the Runs module. For user interface details, see Test Lab Module and Runs Module.
You can use the Trend Reports feature to view improvements or regressions in performance across several test runs. For details, see Trending.