Load runner is a load testing
tool that determines application scalability, behavior, and performance. It
emulates thousands of virtual users and identifies and isolates performance
bottlenecks across and within each tier. Load Runner is automation load testing
tool lunched by Mercury (Now belongs to HP).
Load Runner has mainly three components:
Virtual User
Generator (VuGen): This component of load runner records Vuser
scripts that emulate the steps of real users using the application. In testing
environment the LoadRunner replaces human users with virtual users (Vusers).
Vusers create load by emulating actions of typical users.
Controller: The Controller is
the central console from which you build, manage, and monitor your load test.
You use the Controller to run a script that emulates the actions performed by a
real user, and create load on your system by having a number of Vusers (virtual
users) concurrently perform these actions.
Analysis: Uses the Load Test
results to create graphs and reports. This is to identify bottlenecks and
performance issues or any other failures in your system’s performance and then
pinpoint the source of these failures.
Other important of
Load Runner:
Load Generator: Load generators are
the machines that create load on the application by running Vusers. Tester can
use a number of load generator machines, each hosting many virtual users.
Load Runner Agent: To simulate virtual
users on machines other than the Load Runner Controller machine.
Tools/Advance settings of LoadRunner
Load runner agent provides the necessary interface between the Controller and
the Load Generator
Tools/Advance settings of LoadRunner
- Host Security Manager
- Host Security Host
- IP Wizard
- Password Encoder
- LoadRunner Agent Runtime Settings Configuration
- Monitor Configuration
- Agent Configuration
- LoadRunner Agent Process
- MI Listener Configuration
Load Runner's Primary tool for developing Vuser scripts is
known as Vuser Script Generator, also known as VuGen. VuGen not only records Vuser Scripts, but
also runs them. Load Runner VuGen uses “ANSI C” as Scripting language. VuGen
Creates a Vuser script by recording the communication between a client
application and server.
Each Vuser Script contains at least 3 sections:
vuser_init
Actions
vuser_end
Controller
The Controller is the central console from which you build,
manage, and monitor your load test. You use the Controller to run a script that
emulates the actions performed by a real user, and create load on your system
by having a number of Vusers (virtual users) concurrently perform these actions
User can define Scenario in Load Runner Controller to control
and manage the load testing on any application
Basically Scenario includes:
- A list of machines on which Vusers run
- A list of scripts that the Vusers run
- A specified number of Vusers or
- Vuser groups that run during the scenario
Analysis
The Analysis helps to determine system performance and
provides information about transactions and Vusers by combining results from
several scenarios or merging several graphs into one.
Analysis is load runner component that
processes the gathered result information and generates graphs and reports
Analysis can be performed in two ways:
- as an independent application
- directly from the Controller
User can obtain various kinds of graphs using
Analysis graphs:
- Running Vusers Graph
- Transactions per Second Graph
- Transaction Response Time Graph
- Throughput
- Server and Network Graph
- Many more
This post is only gives a basic idea about Load Runner tool. I
will share more on this and try to include real time problems and scenarios.
Happy Exploring!!!!!!
Comments
Post a Comment