Configure global Controller and test options
This topic describes how to configure global Controller options for your LoadRunner Enterprise project.
About the Controller
The Controller is the manager of a performance test that receives the scripts, their runtime settings, and a list of load generators to use. The Controller issues instructions to the load generators including which scripts to run, how many Vusers to run per script, and the time at which to start running the Vusers.
During the performance test, the Controller displays online monitoring information. At the conclusion of the test run, the Controller collates the data for analysis.
Before you run a performance test, you can configure load generator and Vuser options for all your performance tests in the project. Although the default settings correspond to most environments, you can modify the settings to customize the test behavior.
Note: The settings apply to all future test runs in the project and generally only need to be set once. The settings apply globally to all the load generators in a performance test.
Configure monitor run options
You can activate the Transaction monitor, configure the behavior of the transaction data, and set the data sampling rate, debugging, and frequency settings for the online monitors.
-
From the LoadRunner Enterprise navigation toolbar, click and select Controller Options (under Applications).
-
Select Run Options > Monitors.
-
Configure the monitor run options as required:
Configure runtime settings
You can specify runtime settings for your test relating to Vuser quotas, stopping Vusers, and random sequence seed, to prevent system overload, and to control the way in which Vusers stop running.
-
From the LoadRunner Enterprise navigation toolbar, click and select Controller Options (under Applications).
-
Select Run Options > Run-Time Settings.
-
Configure the runtime settings as required:
UI Elements
Description
Vusers Quota Vuser quotas prevent your system from overloading. The Vuser quotas apply to Vusers on all load generators.
Number of Vusers that may be initialized simultaneously on all load generators. Limits the number of Vusers initialized at one time (when you send an Initialize command).
Default value: 999
When Stopping Vusers Controls the way Vusers stop running when you manually stop a test run:
-
Wait for the current iteration to end before stopping. (Default option) The Vuser completes the iteration it is running before stopping. The Vusers move to the Gradual Exiting status and exit the test run gradually.
-
Wait for the current action to end before stopping. The Vuser completes the action it is running before stopping. The Vusers move to the Gradual Exiting status and exit the test run gradually.
-
Stop immediately. The Vusers stop running immediately, moving to the Exiting status and exit the test run immediately.
Random advance mode of file type parameter -
Use random sequence with seed. Enables you to set a seed number for random sequencing. Select this option if you discover a problem during the test run and want to repeat the test using the same sequence of random values.
-
Use seed <#>. Each seed value represents one sequence of random values used for test execution. Whenever you use this seed value, the same sequence of values is assigned to the Vusers in the test.
This setting applies to parameterized Vuser scripts using the Random method for assigning values from a data file. It also affects the random percentage of recorded think time (see information about the Run-Time Settings dialog box in the Virtual User Generator Help Center.
-
Configure timeout settings
You can set timeouts for various LoadRunner Enterprise commands. When a command is issued by the Controller, you can set a maximum time for the load generator or Vuser to execute the command. If the command is not completed within the time limit, the Controller issues an error message.
-
From the LoadRunner Enterprise navigation toolbar, click and select Controller Options (under Applications).
-
Select Run Options > Timeouts.
-
Configure the timeout settings as required:
Configure debug information
You can select the type of information to trace during a test run. According to the selection here, trace files are created and are used to gather information for debugging purposes.
-
From the LoadRunner Enterprise navigation toolbar, click and select Controller Options (under Applications).
-
Select Run Options > Debug Information.
-
Configure the timeout settings as required:
Configure IP spoofing and advance warning settings
You can select a mode for allocating multiple IP addresses when IP spoofing is enabled. It also enables you to display advance warning in the Performance Test Designer Window.
-
From the LoadRunner Enterprise navigation toolbar, click and select Controller Options (under Applications).
-
Select Run Options > General.
-
Configure the general settings as required:
Configure collate settings
You can specify behavior related to collation of the run results.
-
From the LoadRunner Enterprise navigation toolbar, click and select Controller Options (under Applications).
-
Select Run Results > Collate Settings.
-
Configure the collate settings as required:
Configure test options
You to set general Scheduler and testing options for the test from the Test Options dialog box.
-
In the Performance Test Designer window, click Groups & Workload.
-
In the upper-right area of the Performance Test Designer window, click Options. The Test Options dialog box opens.
Note: This is accessible only when the Groups & Workload view is displayed.
-
Configure the following options as required:
UI Elements
Description
Enable Scheduler Enables the Scheduler so that you can run the test according to a user-defined schedule. To define a schedule, this option must be selected.
-
Stop test when Scheduler ends and Vusers are inactive. Automatically stops the test when the test schedule has stopped and all the Vusers are in any of the following inactive states: Down, Pass, Fail, Error, or Stop.
-
Start the Scheduler after a delay of HH:MM:SS. Enables you to specify when, after the Run Test command has been issued, the Scheduler should start running the schedule. If this option is not selected, the schedule starts to run as soon as the test starts running.
-
Wait for all groups to initialize. Instructs the Scheduler to wait until all the Vusers in all the Vuser groups have finished initializing before starting to run any of the groups.
Note: If you select this option, if any of the Vuser groups' Initialize action is Initialize each Vuser just before it runs, the Scheduler automatically changes this setting to Initialize all Vusers simultaneously.
-
Pause Scheduler at test start. Pauses the Scheduler at the start of a test run, enabling you make changes to the test design just before the test is about to run. You can then restart the Scheduler manually.
Enable IP Spoofer After you define multiple IP addresses, and before you run the test, select this option to enable IP spoofing. For details about multiple IP addressing, see Configure multiple IP addresses.
Note: You must enable IP spoofing before running a test.
Set maximum number of concurrent Vusers The maximum number of concurrent Vusers allowed for this test.
Collate Vuser logs Collates Vuser logs from remote load generators after the test ends. This setting is defined per test, and is saved across test runs. This option is selected by default so that the behavior remains consistent with previous versions of the application.
Tip: We recommend clearing this option when extended log is enabled for one or more of the groups.
Disable Default Monitors LoadRunner Enterprise host monitors are automatically activated at the start of a test run by default. Select this check box to manually disable host monitors (this can save time in the initialization process when there are many load generators in the test). For details on the default monitors, see Monitors enabled by default.
Do not change record Think Time (for Goal Scheduler) If selected, LoadRunner Enterprise runs the test using the think time recorded in the script. For details, see Distribute Vusers by goal.
Note: If you select this option, you may need to increase the number of Vusers in your scenario in order to reach your target.
-
See also: