LoadRunner tool

An Introduction to LoadRunner

LoadRunner is a Performance test tool, it can be used for Load testing, Stress testing and Endurance testing.

LoadRunner is available for Windows and UNIX versions (LoadRunner for Windows and LoadRunner for UNIX)

We can install LoadRunner in 2 ways 1) LoadRunner full installation 2) Load Generator Installation

LoadRunner is a protocol based test tool, where as QTP is a object based test tool. We can select single or multiple protocols.

LoadRunner was developed by Mercury Interactive in 1990s, later takeover by HP in 2007.

LoadRunner is a leading tool in performance testing sector, there it has more than 60% market share.

Other competitor tools for Performance testing are IBM-RPT (Rational Performance Tester), Borland-Silk Performer, QAWebload, Jmeter etc…

LoadRunner has 3 external components and one internal component

External Components:

1) VUser Generator (Virtual user generator)

2) Controller

3) Analysis

Internal Components:

1) Remote Agent Process

1) Vuser Generator: It is used for Scripts generation, editing and deletion.

LoadRunner Script divided into 3 parts

a) VUser-init (for recording application launching operation)

b) Action (for recording main action to be tested)

c) VUser-end (for recording application closing operation)

For generating tests Recording is the only method in LoadRunner, LoadRunner uses C like Vuser script, which we can edit.

We can insert Transaction points (Start and end) and Rendovez point in LoadRunner.

2) Controller: It is a hub of LoadRunner, here we can generate scenarios and run scenarios.

In Controller we can create VUsers, add Load generators and schedule our tests. In LoardRunner several schedules available, we can choose our desired schedule.

Schedules are:

General schedule:

Starting all vusers at a time and closing all at a time.


In this schedule we start some number of vusers for a specified time (Example 100 users for every 10 seconds) and we stop all vusers at a time.


In this schedule we start all vusers at a time and we stop vusers step by step (Example 100 users for every 10 seconds)

Ramp-up and Ramp-down:

In this schedule, we start and stop vusers step by step, means:

Start some number of vusers for a specified time (Example 100 users for every 10 seconds)

Stop some number of vusers for a specified time (Example 100 users for every 10 seconds)

Endurance Testing:

Applying continues load for a specific period of time

Example: 10000 vusers load continuously for 6 hours, in this approach; we can test reliability of our Software Application

3) Analysis:

This component is used for Result viewing for analyzing results and for Result reporting.

LoadRunner is providing Result reporting in several formats like Document, HTML and Crystal Reports.

After analyzing the Results we can send Defects.


Post a Comment