Configuring Scenario Run-Time Settings - LoadRunner

You can specify scenario run-time settings relating to Vuser quotas, stopping Vusers, and random sequence seed using the Run-Time Settings tab.

To set the scenario run-time settings:

  1. Choose Tools> Options. The Options dialog box opens. Click the Run-Time Settings tab.

    To set the scenario run-time settings

  2. To set a Vuser quota, specify the desired value.
  3. Select the way in which you want LoadRunner to stop running Vusers.
  4. To specify a seed value for a random sequence, select the Use random sequence with seed check box and enter the desired seed value.

Understanding the Options - Run-Time Setting Tab

The Run-Time Setting Tab lets you specify run-time setting values such as the Vuser quota, the way in which Vusers are stopped, or the seed for random sequences.

Vuser Quota: To prevent your system from overloading, you can set quotas for Vuser activity. The Vuser quotas apply to Vusers on all load generators.

  • Number of Vusers that may be initialized at one time - all load generators: Sets the maximum number of Vusers that the load generator can initialize at a time (when you send an Initialize command).

When stopping Vusers: Lets you control the way in which Vusers stop running when you click the Stop button. Select one of the following options:

  • Wait for the current iteration to end before exiting: Instructs LoadRunner to allow a Vuser to complete the iteration it is running before stopping. The Vuser(s) move to the GRADUAL EXITING status and exit the scenario gradually.
  • Wait for the current action to end before exiting: Instructs LoadRunner to allow a Vuser to complete the action it is running before stopping. The Vuser(s) move to the GRADUAL EXITING status and exit the scenario gradually.
  • Stop immediately: Instructs LoadRunner to stop running the Vuser(s) immediately. The Vuser(s) move to the EXITING status and exit the scenario immediately.

Use random sequence with seed: Allows LoadRunner to use a seed number for random sequencing. 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 scenario. This setting applies to parameterized Vuser scripts using the Random method for assigning values from a data file. It will also affect the random percentage of recorded think time (see information on the Run-Time Settings dialog box in the VuGen Help project). Enable this option if you discover a problem in the test execution and want to repeat the test using the same sequence of random values.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

LoadRunner Topics