Performance Testing on Firewall-Protected Networks

Setup Load Runner for Performance Testing on Firewall Protected Networks

HP Load Runner is the most popular tool from HP for performance, load and stress testing tasks. Using the LR, you can check different aspects of performance testing on a native system or a remote system.

However, remote networks are always behind a firewall. When a firewall is used, it blocks the commonly used port 80. So, the LR controller cannot establish a connection with LR agents on remote systems. However, you can use MI listener to communicate with remote LR agents over a secure HTTPS connection using port 443.

How it works?

LR agents are installed on all remote machines wherein Vusers on load generators are running.  Mi Listener is an effective tool that acts as a router to facilitate communication between the controller and the agent. When the agent connects to the MI Listener, it identifies itself with a unique name. This information is stored with the MI Listener. The agent uses port 443 to securely communicate with the MI Listener. On the other hand, the controller uses port 50500 to communicate with the MI Listener.

How to create this setup?

To facilitate performance testing over a firewall, you have to configure three components

  1. Mi Listener
  2. LR Agent
  3. Controller


Step 1: Configuring the Mi Listener
  • First of all, you need to install two LR components namely Monitor over Firewall component and MI Listener component.
  • Open your firewall settings and allow connection between the two machines.
  • Open the MI Listener settings window
  • Change the port settings so that port 443 is open for traffic
  • Go to the system tray and stop the MI Listener from running.
  • Open advanced settings of the Mi Listener from Start -> All Programs -> Load Runner
  • There are two options. For the Check Client Certificate box, the default value is False. Change it to true so that the client has to provide secure SSL certificate so that the data is transferred on remote networks in a secure way.
  • For the Private Key Password option, the default value is None. Set a password so that SSL authentication is securely processed.
Step 2: Configuring LR Agents to run Vusers
  • On the LR agent machine, go to the system tray and stop the LR agent
  • Open the LR agent program by going to Start – > All programs – > Load Runner – Advanced
  • On the Agent Configuration window, Check the Enable Firewall Agent box and click on settings.
  • On the Over Firewall Settings window, You will find the following options:
Field Name Default Value Required value
Mi Listener name None Enter the name or the IP address of the Mi Listener
Local Machine Key None A string identifier for the connection between the controller and the agent. ( The same name has to be entered for the Load Generator name field in the controller settings)
Connection Timeout (Seconds) 20 sec Enter the time the agent waits before connecting to the Mi Listener
Mi Listener username None Enter the username for the Mi Listener connection
Mi Listener Password None The password for the connection
Server Domain None You can leave this unchanged unless you use NT LAN Manager
Connection Type TCP, HTTP

  1. Proxy Name
  2. Proxy Port
  3. Proxy username
  4. Proxy password
TCP Choose the connection you are using

If you use HTTP connection, enter proxy details

Save these settings and restart the LR agent.

Step 3: Configuring the Controller
  • Open the controller settings by going to Start -> All programs -> Load Runner -> Applications.
  • Choose Create a new scenario.
  • Open the Load generators window and click on Generators
  • Enter the name used for the Local machine key in the LR agent settings window.
  • To get the load generator information, click on Details.
  • Go to Firewall tab
  • Enter the Mi Listener name ( The same name given for the MI listener in the MI Listener settings)
  • For the firewall settings, there are two tabs
    1. Enable running Vusers over Firewall
    2. Enable Monitoring over Firewall
  • Choose the appropriate option and save the settings and connect the load generator.
Tushar Sharma
Tushar Sharmahttps://www.automationdojos.com
Hi! This is Tushar, the author of 'Automation Dojos'. A passionate IT professional with a big appetite for learning, I enjoy technical content creation and curation. Hope you are having a good time! Don't forget to subscribe and stay in touch. Wishing you happy learning!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

RELATED POSTS

Working with JMeter Listeners

About Listeners Listeners are used for displaying test results in JMeter. Listeners allow system engineers to analyze the responses from the testing system and monetize...

Common Issues with HP Load Runner

HP Load Runner is a popular automated load and performance testing tool that emulates actual load to check the performance and behavior of a...

Getting Started with Apache JMeter

1. Introduction As a developer, you may have tested the functionality of your code hundreds of times during development. This is known as functional testing....

Â

RECENT 'HOW-TO'

How To Install Oh-My-Posh On Windows PowerShell

Oh-My-Posh is a powerful custom prompt engine for any shell that has the ability to adjust the prompt string with a function or variable. It does not...

SIMILAR ON CODEX

FEATURED PROJECTS

SEPA Bulk File Generator and Validator

ADjo LABS PROJECT: SEPA Bulk File Generator and Validator. Supported File Types PAIN008, PAIN001, PACS003 and PACS008. Tested for supporting PAIN.008.001.001 and PAIN.008.001.002 (version 1&2). The XML...

MORE IN THIS CATEGORY

A Prologue For HP Load Runner

Performance testing is one of the important processes of the software QA segment. While the application is efficiently designed and tested for functionality, it...

How To Create FTP Test Plan in JMeter

About File Transfer Protocol File Transfer Protocol is a widely used standard network protocol for FIle sharing between a client and server in the same...

Common Errors with QTP/UFT – Part 2

Welcome to the second and final part of this series on 'Common Errors for QTP/UFT'! Earlier, we discussed about some of the 'Common QTP/UFT...

CHECKOUT TUTORIALS

Java Tutorial #3 – Java Arrays

Table of Contents One Dimensional Array Declaring Array Allocting Memory to Array Accessing Array Elements Initializing Array Length of Array Multi Dimensional Array Creating 3...
- Advertisement -spot_img