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...

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 Record Using BlazeMeter Plugin (JMeter)

Honestly speaking if you already have a mature or established process using 'native' JMeter from Apache, without any kind of wrappers utilities or third-party...

Â

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

Windows JDK Manager (win-jdk-Manager)

ADjo LABS PROJECT : Simple and lightweight desktop utility with Interactive cmd Interface for easy view, re-point and switching between JAVA versions on windows. Demonstrating the capability...

MORE IN THIS CATEGORY

Getting Started with Selenium WebDriver

Table of Contents 1. Selenium and Selenium Web Driver 2. Setting-Up the Environment 3. Test Script with Selenium Web Driver 3.1) Creating a project 3.2) Creating...

Essentials of Typical QTP/UFT Framework

Table of Contents Essentials 1: Test Artefacts Repository Essentials 2: Error Handling and Recovery Essentials 3: Object Identification Method Essentials 4: Test Data Management Essentials 5: Result and...

HP Quality Center vs Productivity Challenges

While the internet has revolutionized the technology, the innovation hasn’t stopped yet. As technology keeps innovating, there arises a greater need for an efficient...

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