Configuring Load Generator Settings - LoadRunner

You can configure additional settings for individual load generators, using the tabs in the Add New Load Generator or Load Generator Information dialog boxes. The settings that can be configured are: Status, Run-Time File Storage, UNIX Environment, Run-Time Quota, Vuser Limits, Vuser Status, Terminal Services, Firewall, and WAN Emulation. You can also configure the Connection Log Settings while working in Expert mode. You can configure global settings for all load generators participating in the scenario, using the Options dialog box.

To configure load generator settings:

  1. Click the Generators button, or select Scenario> Load Generators to open the Load Generators dialog box, and then click the Details button. The Load Generator Information dialog box opens.
    You can also configure the settings from the Add New Load Generator dialog box. Click More to display the settings tabs.
  2. Select a tab, and configure the load generator settings. The settings apply to the load generator specified in the Name box. To configure a load generator other than the one specified, enter the name and platform of the load generator in the Name box, or select the load generator from the Load Generator dialog box.
  3. Click OK to close the Load Generator Information or Add New Load Generator dialog box and save your settings.

Understanding the Load Generator Information dialog Box

The Load Generator Information dialog box enables you to add a load generator machine to your scenario.

Name: Type the name of the load generator you want to add in the Name box.

Platform: Select the type of platform on which the load generator is running.

Temporary directory: Type a location, on the load generator, where the Controller can store temporary files.

Enable load generator to take part in the scenario: Select to include the load generator in the scenario.

Status Tab

Select the Status tab to display details of the Load Generator Status.

nderstanding the Load Generator Information dialog Box

Load Generator Status: Displays the status of the load generator.

Details: Displays error and other run-time information about the selected load generator.

Run-Time File Storage Tab

Select the Run-Time File Storage tab to specify the result directory for the performance data that LoadRunner gathers from each load generator during a scenario.

Run-Time File Storage Tab

Scripts and results stored: Select one of the following options:

  • As defined in Tools> Options> Run-Time File Storage:Stores the results as specified in the global settings.
  • In temporary directory on <load generator name>: Instructs the Controller to save the run-time files (results of the scenario run and Vuser scripts) on a hard drive of the load generator computer.
  • On a shared network drive: Instructs the Controller to save the scenario results and/or the Vuser scripts on a shared network drive. A shared network drive is a drive to which the Controller and all the load generators in the scenario have read and write permission.

Note: If the load generator is localhost, then LoadRunner stores the scripts and results on a shared network drive, and the checkboxes and radio buttons for setting the location are all disabled. If you are monitoring over the firewall, the Run-Time File Storage settings are not relevant.

UNIX Environment Tab

Select the UNIX Environment tab to configure the login parameters and shell type for each UNIX load generator.

UNIX Environment Tab

Login as

  • Name: If the load generator is UNIX-based, set the login information for the load generator. By default, LoadRunner uses your NT user name for the UNIX login. In other words, if your NT login is lrunner, the Controller will log on to the load generator aslrunner. To log on to a UNIX-based load generator using a different login name, select the Name check box and specify the desired UNIX login name. Using this option, you can log on to the NT Controller as bill and connect to the UNIX load generator as mike. However, you should make sure that mike allows bill to log on using his name. This can be done by adding the line “+ bill” at the beginning of mike's .rhosts file.
  • Use lower case for login names: Instructs LoadRunner to use lower case names during login to avoid case-sensitive issues with the UNIX operation system.

Shell Settings: Specify the UNIX shell settings for the remote UNIX load generator.

  • Default shell: Select the default shell on the UNIX load generator: csh (C Shell—the default), bsh (Bourne Shell), or ksh (Korn Shell).
    Note: To allow LoadRunner to run your application under the Korn shell, you first need to make sure that the .profile file contains all of the LoadRunner environment settings—for example, the M_LROOT definition and the LicenseManager variable. Your UNIX $M_LROOT/templates directory contains a template for the .profile file, called dot profile. Use the template as a guide for modifying your .profile file with the LoadRunner environment settings. In addition, if you are using a Korn shell (ksh), you must delete all LoadRunner settings from the .cshrc file (e.g. M_LROOT) before executing the scenario.
  • Initialization command: Enter any command line options for LoadRunner to use when logging on to a UNIX system. This initialization command will run as soon as the shell opens. For example, you could select ksh and use the following initialization command:
    . .profile;

Note: If you are monitoring or running Vusers over the firewall, the UNIX Environment settings are not relevant.

Run-Time Quota Tab

Initializing or stopping a large number of Vusers simultaneously places large stress on a load generator. To reduce stress on a load generator, you can initialize or stop smaller batches of Vusers. Select the Run-Time Quota tab to specify the maximum number of Vuser types that the load generator will initialize or stop simultaneously.

Run-Time Quota Tab

Vuser Quota

  • Number of Vusers that may be initialized at one time - <current load generator>: Select the maximum number of Vusers that the current load generator can initialize simultaneously.
  • Limit the number of users that may be stopped at one time to: Select the maximum number of Vusers that the current load generator can stop simultaneously.

Defaults: Sets the number of Vusers that may be initialized or stopped at one time to 50.
You can set run-time quotas for an entire scenario using the Run-Time Settings tab in the Options dialog box. For information on setting quotas globally for an entire scenario, see Chapter 10, “Configuring a Scenario.”

Vuser Limits Tab

Select the Vuser Limits tab to modify the maximum number of GUI, RTE, and other Vusers that a load generator can run.

Vuser Limits Tab

Available Types: Select the type(s) of Vusers you want the load generator to run.

Maximum Active: Select the maximum number of Vusers of each type for the load generator to run.

Defaults: Sets GUI-WinRunner to 1, RTE to 1000, and Other Vusers to 5000.

Note: The maximum number of active Vusers that you specify must not exceed the number of Vusers that you are licensed to run. To check your Vuser licensing limitations, in the Mercury LoadRunner window (Start > Programs> Mercury LoadRunner> LoadRunner), click License.

Firewall Tab

Select the Firewall tab to enable monitoring or running Vusers over a firewall.

Firewall Tab

Enable firewall: Enables LoadRunner to monitor or run Vusers over a firewall.

Note: If you select the Enable Firewall option, the Temporary directory option for storing temporary files is disabled. Any location in the Temporary directory box is erased.

Firewall Settings:

  • Enable Monitoring over Firewall: Enables LoadRunner to monitor the load generator machine through a firewall.
  • Enable running Vusers over Firewall: Enables LoadRunner to run Vusers on a load generator machine outside the firewall.

MI Listener: Type the name of the MI listener the load generator is using.

Note: If the load generator is connected, you cannot change values in the Firewall tab. To disconnect a load generator, select the load generator in the Load Generators dialog box, and click Disconnect. The load generator status changes to Down, and you can change the settings.

The Firewall tab is disabled if the load generator is Localhost.

Vuser Status Tab

Select the Vuser Status tab to view the status of all the Vusers connected to the selected load generator machine. Note that this tab can only be viewed when the load generator machine is connected.

Vuser Status Tab

GUI/WinRunner: Displays the number of GUI/WinRunner Vusers that are Pending, Initializing, and Active.

RTE: Displays the number of RTE Vusers that are Pending, Initializing, and Active.

Other Vusers: Displays the number of Vusers other than GUI/WinRunner and RTE Vusers that are Pending, Initializing, and Active.

Totals: Displays the total number of Vusers that are Pending, Initializing, and Active.


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

LoadRunner Topics