How To Download, Install and Use Microfocus (HP) Load Runner For Load Testing Tutorial with Examples?
Microfocus (formerly HP) Loadrunner is a Load, Stress and DoS Testing tools used to test applications. Loadrunner also provides benchmark results for the given target. In this tutorial, we will learn how to download, register, install and use Loadrunner.
Loadrunner is a very capable tool which can be used for different purposes with different environments and cases. Here we will talk about some of the popular features of the Loadrunner.
Loadrunner can be used to record actions of load and performance testing. We can test applications developed in Ajax, Flex, HTML 5, .NET, Java, GWT, Silverlight, SOAP, Citrix, ERP and other types of applications while recording test actions.
Loadrunner provides very rich scripting language to create test cases and actions. We can use parameters, variables, functions in Loadrunner scripting language.
We can use Loadrunner to test Mobile applications which are developed for Web, Android and IOS.
Integration with Dev Tools
We can integrate load testing into our development tools: IDE, jUnit, nUnit Selenium, Microsoft Visual Studio, JMeter.
In order to download Loadrunner we have to register to the Microfocus web portal. We will navigate to the following URL and register.
Microfocus provides its products from the following link where we download Loadrunner. We will click on the
The size of the Loadrunner is about 1 GB and download time-related with the internet connection speed. The downloaded file will
When we click to the installation file we will see the following screen. This screen provides different functions and tools where we will run
LoadRunner Full Setup.
We need to install some libraries and updates with the following screen.
Then we will select
LoadRunner from checkboxes.
Here the installation is in progress
We can configure SSL certificate related issues in the following screen.
LoadRunner provides 3 main components for load and stress test.
- Virtual User Generator is used to create cases, actions, scripts for test plan
- The Controller is used to run given Virtual User Generator plans to the specified target
- Analysis is used to read report created after tests by Controller.
Virtual User Generator
The core of the Loadrunner is the Virtual User Generator. This will create users, actions and scripts about the test cases.
We can create a new script and solutions from
New Script and Solutions like below.
Then we will select the project type which is
Web - HTTP/HTML in this example. We will also provide the project location and the project name which is
Then we will click to the red record button on the panel. This will open the following
Start Recording screen where we will put parameters like Record, Application, Browser, URL etc.
This will open Chrome for recording events and store actions. After finishing that we can run actions
The controller is used for controlling the overall test. We will use
VuGen scripts where we have created with Virtual User Generator.