Configure scenario options
The following sections describe how to configure options relevant for all your scenarios. You configure these options in the Options dialog box (Tools > Options).
Configure timeout options
Select Tools > Options > Timeout tab and specify timeout values for commands related to the load generator. For user interface details, see Options > Timeout tab.
If the command is not executed successfully within the timeout period, the load generator status changes to Error.
Configure Vuser runtime settings
Select Tools > Options > Runtime Settings tab. You can specify:
The Vuser quota for a scenario
How to stop running Vusers
Vuser loading mode on the load generators for Percentage mode scenarios: Round-robin or Sequential modes. For details, see below.
Whether to use a seed number for random sequencing
Set the loading mode
When running a manual scenario, you can set the way Controller loads the Vusers. There are two methods available for loading Vusers:
Sequential mode. Controller calculates the number of Vusers per load generator, and ramps up all Vusers, one load generator after another. Sequential is the default mode, and it is the only available mode for Vuser Group Mode scenarios.
Round-robin mode. If the initialization stage of a script uses a lot of resources, this may affect the performance on the load generators. To help improve performance, you can choose the Round-robin mode method for ramp up, if you are running a Percentage Mode scenario. In round-robin mode, each Vuser group is routed to the next available load generator on a cyclical basis. This ensures that Vusers are distributed evenly and prevents an overload on any one load generator.
- For Vusers in groups configured to All Load Generators, Controller uses the round-robin method to ramp up the groups between all of the load generators.
- For all Vusers in a group not configured with the All Load Generators option, Controller uses the round-robin method to ramp up individual Vusers between all of the group’s load generators.
For user interface details, see Options > Runtime Settings tab.
Configure general scenario options (Expert mode only)
Select Tools > Options > General tab to specify the following general scenario settings that apply when in Expert mode:
- Specify the folder for data table storage
- Enable multiple IP address allocation. For details, see Multiple IP addresses.
For user interface details, see Options > General tab.
Configure the default schedule run mode
Select Tools > Options > Execution tab. Under Default Scheduler select a default run mode. For user interface details, see Options > Execution tab.
For details about schedule run modes, see Schedule run modes.
Define a command to run after scenario results are collated
Select Tools > Options > Execution tab. Under Post Collate Command, enter a command to run after collating scenario results. For user interface details, see Options > Execution tab.
For more details about collating run results, see Collate scenario run results.
Configure global runtime file storage and upload options
Select Tools > Options > Runtime File Storage tab, and specify where LoadRunner Professional should store scenario runtime files collected on remote load generators:
On the load generator.
On a shared network drive. For information on this option, see Runtime file storage locations.
Note: LoadRunner Professional applies these settings to all the load generators participating in a scenario. You can change the settings for individual load generators as described in Modify load generator settings.
You can also define options for when to transfer the runtime files to the remote load generators, and whether to include the parameter files.
For user interface details, see Options > Runtime File Storage tab.
Configure monitoring options
Select Tools > Options > Monitors tab, and configure the online monitoring settings. For user interface details, see Options > Monitors tab.
Configure debug information options (Expert mode only)
Select Tools > Options > Debug Information tab, and determine the extent of the trace to be performed during a scenario run. For user interface details, see Options > Debug Information tab.
Configure output display options (Expert mode only)
Select Tools > Options > Output tab, and configure how to display running Vusers on the Controller machine. For user interface details, see Options > Output tab.
Define the NUnit framework path (Expert mode only)
Select Tools > Options > NUnit Framework tab, and define the path to the location of the installed NUnit framework. For details, see Develop a unit test using Visual Studio (NUnit test).