How to Configure the LoadRunner Agent

On each load generator machine that will be running over a firewall and on each Monitor-Over-Firewall machine, you configure the LoadRunner agent to communicate with the MI Listener. The MI Listener serves as a router between the LoadRunner agent and the Controller.

  1. Configure the Windows LoadRunner Agent.

    1. Stop the LoadRunner agent by right-clicking its icon in the system tray and selecting Close, and then setting the options in the Agent Configuration dialog box as described in Agent Configuration Dialog Box.

    2. Restart the LoadRunner agent by double-clicking the shortcut on the desktop.

  2. Configure and Run the Linux LoadRunner Agent.

    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 folder to display the following menu:

      Note: If agent_config does not display the menu shown above, see Troubleshooting and Limitations for Firewalls for a possible solution.

    4. Enter 1 to display the current settings:

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

    6. Enter the setting and continue according to the menu instructions. Set each option according to the Agent Configuration Settings Dialog Box.

  3. Restart the LoadRunner Agent.

    1. To remove (turn off) the LoadRunner agent, run the command m_daemon_setup -remove from the <LoadRunner root folder>/bin folder.

    2. 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 folder of the LoadRunner agent machine. The file is removed when the LoadRunner agent disconnects from the MI Listener.

    3. To start the LoadRunner agent, run the command m_daemon_setup -install from the <LoadRunner root folder>/bin folder.

Back to top