Configuring Load Generators - LoadRunner

You can set a load generator’s attributes while adding it to the load generator list, or modify the attributes of an existing load generator at any time, using the Load Generators dialog box.

To configure global settings for all load generators participating in the scenario, use LoadRunner’s Options dialog box. To set properties specific for each load generator, use the Load Generators dialog box as described below. You can also indicate which load generators will run Vusers in the scenario. For example, if a load generator is unavailable for a particular scenario run,you can exclude it temporarily instead of removing it entirely from your list of load generators.

You select which load generators will take part in the scenario by using the Enable and Disable commands. Disabling a load generator temporarily removes it from the list. Enabling a load generator reinstates it. Disabling load generators is particularly useful if you want to isolate a specific machine to test its performance.

To configure a load generator:

  1. Click the Generatorsbutton, or select Scenario > Load Generators. The Load Generators dialog box opens. The Name of the load generator, its Status, Platform, and Detailsare displayed.

    To configure a load generator

  2. Click Connect to change the Status of the load generator from Down to Ready. When the load generator is connected, the button automatically changes toDisconnect. To change the Status of the load generator from Ready to Down, click Disconnect.
  3. To disable a load generator, select the load generator and click Disable. The load generator name changes from blue to gray, and the load generator is disabled. To enable a load generator, select the load generator and click Enable. The load generator name changes from gray to blue, and the load generator is enabled.
  4. To view details of a load generator, select the load generator and click Details. The Load Generator Information dialog box opens with information about the load generator you selected.

Understanding the Load Generator Dialog Box

The Load Generators dialog box displays information about the load generators connected to the scenario.

Name: Lists the name of the load generator.

Status: Displays the status of the load generator. The following table describes the possible statuses of the load generator.

To configure a load generator

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

Details: In the event that the connection fails, displays details about why it failed.

Connect: Instructs the Controller to connect the load generator for the scenario. When the load generator is connected, the button automatically changes to Disconnect.

Add: Opens the Add Load Generator dialog box.

Delete: Deletes the load generator. The load generator can be deleted only when it is disconnected.

Reset: Attempts to reset a failed connection.

Details: Opens the Load Generator Information dialog box.

Disable/Enable: Instructs the Controller to disable or enable the load generator. When a load generator is disabled, its Name, Status, Platform, and Details appear in gray.

Note: The Controller monitors a Windows load generator machine’s CPU usage and automatically stops loading Vusers on a load generator when it becomes overloaded. You can monitor the status of a machine’s CPU usage using the icons in the Load Generator dialog box. When the CPU usage of a load generator becomes problematic, the icon to the left of the load generator name contains a yellow bar. When the machine becomes overloaded, the icon contains a red bar.

Adding a Load Generator

You can add load generator machines to your scenario, or modify information for existing load generators.

To add a load generator, or modify load generator information:

  1. Click Add in the Load Generators dialog box. The Add New Load Generator dialog box opens.

    add a load generator, or modify load generator information

  2. In the Name box, enter the name of the load generator.
  3. In the Platform box, select the type of platform on which the load generator is running.
  4. In the Temporary Directory box, type a location on the load generator,
    where the Controller can store temporary files, or leave empty to accept the default location. By default, LoadRunner stores temporary files on the load generator during scenario execution, in a temporary directory specified by the load generator’s TEMP or TMP environment variables.
  5. To allow the load generator to take part in the scenario, check Enable load generator to take part in the scenario
  6. Click More to expand the dialog box and show the Add Load Generator tabs.
  7. To remove a load generator, click Delete.
  8. Click Close to close the Load Generators dialog box. The load generator name you entered appears in the Load Generators list; its status is set to Down

Understanding the Add New Load Generator Dialog Box

You can add load generator machines to your scenario using the Add New Load Generator dialog box.

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. By default,LoadRunner stores temporary files on the load generator during scenario execution, in a temporary directory specified by the load generator’s TEMP or TMP environment variables.

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


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

LoadRunner Topics