Configuring LoadRunner Agents Inside the Firewall - LoadRunner

The machines inside the firewall can either be Load Generator machines running Vusers, or mediator machines connected to the servers to be monitored by the Controller. You configure the LoadRunner agents inside the firewall to operate over the firewall. The Controller machine resides outside the firewall.

Configuring and Running the Windows LoadRunner AgentTo configure the LoadRunner agent on Windows machines:

  1. Stop the LoadRunner agent by right-clicking its icon in the system tray and selecting Close.
  2. Run Agent Configuration from Start > Programs > Mercury LoadRunner > Advanced Settings, or run <LoadRunner root>launch_servicebinAgentConfig.exe.
  3. Select the Enable Firewall Agent check box, and then click Settings.

    Configuring and Running the Windows LoadRunner AgentTo configure the LoadRunner agent on Windows machines:

    The Agent Configuration dialog box opens.

    Agent Configuration dialog box opens

  4. Set each option as described in “Agent Configuration Settings”.
  5. Click OK to save your changes, or Cancel to cancel them.
  6. Restart the LoadRunner agent by double-clicking the shortcut on the desktop, or from Start > Programs > Mercury LoadRunner > LoadRunner Agent Service/Process.
  7. Check the connection status between the LoadRunner agent and the MI Listener. A green light illuminated next to the LoadRunner Agent icon in the system tray indicates a successful connection between the LoadRunner agent and the MI Listener. A red light indicates that there is no connection between the agent and the MI Listener.

Configuring and Running the UNIX LoadRunner AgentTo configure the LoadRunner agent on UNIX machines:

  1. Open <LoadRunner root folder>/dat/br_lnch_server.cfg in a text editor.
  2. In the Firewall section, set FireWallServiceActive to 1 and save your changes.
  3. Run agent_config from the <LoadRunner root folder>/bin directory to display the following menu:

    Configuring and Running the UNIX LoadRunner AgentTo configure the LoadRunner agent on UNIX machines

  4. Enter 1 to display the current settings:

    Enter 1 to display the current settings

  5. To change a setting, enter 2 to display the settings menu:

    5_Configuring-and-Running-the-UNIX-LoadRunner-Agent

    Enter the setting and continue according to the menu instructions. Set each option according to the “Agent Configuration Settings”.

Examples of Changing Agent Settings in UNIXTo change the MI Listener Name:

  1. Enter 1 in the Settings menu to display the following screen:

    Examples of Changing Agent Settings in UNIXTo change the MI Listener Name:

    Line 1 is a description of the setting. Line 2 shows the current value of the setting

  2. Enter the new value, (for example, bunji) to display the following:

    Configuring-and-Running-the-UNIX-LoadRunner-Agent

  3. To keep the new value and return to the menu, enter 1. To discard the new value and return to the menu, enter 2. To discard the new value and change the setting once more, enter 3.

To change the Connection Type:

  1. Enter 4 in the Settings menu to display the following screen:

    To change the Connection Type

    Line 1 is a description of the setting. Line 2 shows the current value of the setting.

  2. Enter 1 to set the connection type to TCP, or enter 2 to set it to HTTP and display the following:

    To change the Connection Type

  3. To keep the new value and return to the menu, enter 1. To discard the new value and return to the menu, enter 2.

Viewing the Settings and Restarting the AgentTo view the current settings:

  1. Return to the main menu by entering 1.
  2. Enter 1 to display the settings. The following example includes the new settings for MI Listener Name and Connection Type:

    Viewing the Settings and Restarting the AgentTo view the current settings

  3. To save your changes, enter 3 from the main menu. To cancel your changes, enter 4. To use the default values supplied by LoadRunner (as described in “Agent Configuration Settings” ), enter 5.

To start or remove the LoadRunner agent:

  1. To start the LoadRunner agent, run the command m_daemon_ setup –install from the <LoadRunner root folder>/bin directory.
  2. To remove the LoadRunner agent, run the command m_daemon_setup - remove from the <LoadRunner root folder>/bin directory.

Note: When the LoadRunner agent is configured to run over a firewall, and the agent is connected to the MI Listener, a file called <local_machine_key>_ connected_ to_MI_Listener is created in the temporary directory of the LoadRunner agent machine. The file is removed when the LoadRunner agent disconnects from the MI Listener.

Agent Configuration Settings

Agent Configuration SettingsAgent Configuration SettingsAgent Configuration Settings


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

LoadRunner Topics