Manage Vusers during a test run
This topic describes the runtime options for managing the behavior of Vusers during a performance test run.
View Vuser details
You can view status details of individual Vusers, and run/stop a single Vuser currently in the down/run state, irrespective of its defined schedules.
On the Performance Test Run page, click Vusers Details. The Vusers dialog box opens, enabling you to run or stop individual Vusers.
User interface elements are described below:
UI Elements |
Description |
---|---|
Select All. Selects all displayed Vusers. |
|
Deselect All. Deselects all selected Vusers. |
|
Invert Selection. Inverts the current selection of Vusers. That is, the non-selected Vusers are selected, and the selected Vusers are cleared. |
|
Run Selected Vusers. Runs the selected Vusers. |
|
Pause Selected Vusers. Pauses the selected Vusers. |
|
Stop Selected Vusers Gradually. Stops the selected Vusers gradually. The Vusers complete the current iteration before stopping. |
|
Stop Selected Vusers Immediately. Stops the selected Vusers immediately. |
|
Reset Selected Vusers. Resets the selected Vusers to the Down state. |
|
Show Selected Vusers Log. Opens the Vuser Activity Log, which displays runtime information for the selected Vuser. The log displays the following information:
|
|
Refresh. Refreshes the information displayed in the dialog box. |
|
Elapsed Time |
The amount of time the Vuser has been running. |
Group |
Filters displayed Vusers by Vuser group. |
ID |
The Vuser's ID. |
Load Generator |
Filters displayed Vusers by load generators. |
Status |
Filters displayed Vusers by their current status. |
Run Vusers
You can initialize, run, or stop any number of Vusers irrespective of their defined schedules. In addition, you can add new Vusers to the performance test.
On the Performance Test Run page, click Run Vusers. The Run Vusers dialog box opens, enabling you to run additional Vusers.
User interface elements are described below:
Add or edit Vuser groups
You can add Vuser groups to a running performance test, or edit existing Vuser group settings during a test run.
Action | Description |
---|---|
Add a group |
On the Performance Test Run page, click Design Groups and Scheduler. Then select Add Groups. The Add/Edit Vuser Group dialog box opens, enabling you to add a Vuser group. |
Edit a group |
On the Performance Test Run page, on the Groups pane, place the mouse cursor over the name of the group you want to edit. Click the down arrow that appears adjacent to the name, and select Edit Group. The Edit Group dialog box opens, enabling you to edit the group's details.
|
View/edit runtime settings |
Click Run Time Settings to view and change the runtime settings for the Vuser script. For details, see Configure runtime settings. |
Send parameter |
Click Command Line and type the name and value of the parameter you want to send using the format, <Parameter_Name> <value>. For information about the command line parsing functions, or for details about including arguments on a command line, see the LoadRunner Online Function Reference, provided with Virtual User Generator. |
View Vuser scripts
You can view the code for each action in a running Vuser script.
-
On the Performance Test Run page, place the mouse cursor over a group name in the Groups pane.
-
Click the down arrow that appears adjacent to the name, and select View Script.
The View Script dialog box displays the script details including script name, type, the last updated date and time, the actions included in the script, and displays any files included in the script.
-
To download the script, click Download.
Manually release Vusers from a Rendezvous
You can manually release Vusers from a rendezvous before the Controller releases them.
On the Performance Test Run page, click View Rendezvous. The Rendezvous Policy dialog box opens. For details, see Set rendezvous policies.
See also: