Replay scripts
This section describes the various methods that are available to replay Vuser scripts.
About replay
After recording a Vuser script, you use VuGen to replay the script. This helps to test the basic functionality of the Vuser script and to uncover errors and issues that need to be addressed. For example, you may find the need for correlation, which is a typical issue that is revealed when you first replay a script.
When the replay is successful, you are ready to enhance the script by adding load-testing functionality to the script. Such functionality could include parameterization, transactions, and rendezvous points.
Replay a Vuser script
To replay a Vuser script:
-
Configure the runtime settings and replay options:
-
Runtime settings control how your Vuser script is replayed. Access the runtime settings by double-clicking the Runtime Settings node in the Solution Explorer.
For an overview of runtime settings, see Runtime settings.
- Specify replay options by selecting Tools > Options. For details on options, see Options dialog box.
-
-
Replay the script. To run a Vuser script until the end of the script or until the next breakpoint, perform one of the following:
- Select Replay > Run.
- Click the Run button
on the Vuser toolbar.
- Press F5.
Note: The status of the Vuser script execution appears in the lower left corner of the window. The script execution status may be Ready, Running, or Paused.
- To stop a script that is running, click the Stop Replay
button on the VuGen toolbar.
- To pause a script that is running, click the Pause
button on the VuGen toolbar.
- To continue running a script that is paused, click the Continue
button on the VuGen toolbar.
-
View the logs for detailed information about how your script behaved during the replay. This information appears in the Output window. For details, see Output pane.
See also: