How To Download, Install and Use Microfocus (HP) Load Runner For Load Testing Tutorial with Examples? – POFTUT

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.

Features

Loadrunner is a very capable tool that can be used for different purposes with different environments and cases. Here we will talk about some of the popular features of the Loadrunner.

Interactive Recording

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.

Scripting

Loadrunner provides very rich scripting language to create test cases and actions. We can use parameters, variables, functions in the Loadrunner scripting language.

Mobile Testing

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.

Register

In order to download Loadrunner, we have to register to the Microfocus web portal. We will navigate to the following URL and register.

https://www.microfocus.com/en-us/products/loadrunner-load-testing/free-trial

Register Loadrunner
Register Loadrunner

Download

Microfocus provides its products from the following link where we download Loadrunner. We will click on the Download button.

https://home.software.microfocus.com/myaccount/#/myProducts

Download Loadrunner
Download Loadrunner

The size of the Loadrunner is about 1 GB and download time-related with the internet connection speed.

Install

When we click on the installation file we will see the following screen. This screen provides different functions and tools where we will run LoadRunner Full Setup.

Start LoadRunner Full Setup
Start LoadRunner Full Setup

We need to install some libraries and updates with the following screen.

Start LoadRunner Full Setup
Start LoadRunner Full Setup

Then we will select LoadRunner from checkboxes.

Start LoadRunner Full Setup
Start LoadRunner Full Setup

Here the installation is in progress

Start LoadRunner Full Setup
Start LoadRunner Full Setup

We can configure SSL certificate related issues in the following screen.

Start LoadRunner Full Setup
Start LoadRunner Full Setup

LoadRunner Usege

LoadRunner provides 3 main components for load and stress test.

  • Virtual User Generator is used to create cases, actions, scripts for the test plans.
  • The Controller is used to run given Virtual User Generator plans to the specified target.
  • The analysis is used to read the report created after tests by the Controller.
LEARN MORE  Crash Linux System With A Bash Fork Bomb

Virtual User Generator

The core of the Loadrunner is the Virtual User Generator. This will create users, actions and scripts about the test cases.

Virtual User Generator
Virtual User Generator

We can create a new script and solutions from File->New Script and Solutions like below.

Virtual User Generator Create Project
Virtual User Generator Create Project

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

MyLoadTest
MyLoadTest

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.

Record Actions
Record Actions

This will open Chrome for recording events and store actions. After finishing that we can run actions

Controller

The controller is used for controlling the overall test. We will use VuGen scripts where we have created with Virtual User Generator.

Leave a Comment