Professional Documents
Culture Documents
Submitted To Prof - Rick Thomson Info-6055 Non-Functional Testing
Submitted To Prof - Rick Thomson Info-6055 Non-Functional Testing
RICK THOMSON
Introduction
LoadRunner is a software testing tool developed by Mercury. The
tool was later acquired by HP.This software tool is extensively
used in software testing market to perform performance testing. It
is estimated that 85% of testing market share is held by HP
LoadRunner. It is user to test 3 tier software applications.
LoadRunner is gaining popularity as it supports a set of
development tools, technologies and a huge suite of network
protocol.HP has taken efforts to merge LoadRunner with QTP
(Quick Test Professional) and ALM (Application Lifecycle
Management).
Load runner is mainly used to perform the performance testing.
Performance testing is done to check the overall performance of
the system under load. A lot of people and system are required to
create load, and hence it is a constrain. It is very difficult to create
it. Load runner creates any number of virtual users, so it can be
successfully used for doing the performance testing. Its working is
as follows:
Components of load runner:-
VU
GENRATOR
CONTROLLER
Analyzer
Architecture
LoadRunner is a complicated piece of software. It can be broadly
classified into the following components:
VUGenerator
Controller
Analyser
VU Generator
Controller
Analyser
4
Lifecycle
Phase-1
In the initial phase, planning on how to conduct the testing is
done. Aspects like what kind of performance testing like
endurance testing, volume testing should be done, what all
functionalities to be tested and covered, what is the system
requirements and what are the expected outputs etc. should be
ascertained.
Phase-2
In the second phase, virtual users and scripts are developed by
the VUGenerator.The scripts developed are based on the system
under consideration, keeping in mind the various possibilities
associated with the system.
6
Phase-3
In this phase the focus is on developing scenarios and allocating
virtual users to various functionalities associated with the system
under testing. For example, if we are testing the performance of
Yahoo Server, we have to think of scenarios like 2000 are using
the yahoo mail service,3500 are using yahoo search and 740 are
browsing yahoo news at the same time and accordingly allot
virtual users to it.
Phase-4
This is the implementation phase where the previously designed
scenarios are implemented and the process is recorded in real
time by the controller component to be analysed in the future.
Phase-5
This is the analyse and report generation phase. In this phase the
Analyser component analyses the recorded results and cross
checks with the expected result. If a deviation is found between
the two results, the system is asked to be retuned and phase 4
and phase 5 are repeated until the deviation between results is
narrowed down to minimum.
Advantages
2.
After clicking recording button to directly goes to web server to
record the actions.
3.
HP LOAD Controller:
1.By adding a script name in controller with the help of browse
option and web html file is selected.
11
Run logic: This is basically is check that how many times actions
have been taken place.
log time :It will help to generate a log message and first run
failed.
Think time: This is the stop time in between step just to do
interaction with application by user. So during the load test the
counterpart will improve the work accuracy more by taking so
thinking time.
LOAD TEST
13
This is to analyse the data and there are number of panes in this:
Session explorer
Graph viewing
Graph viewing
Properties
Properties
References
http://lrhelp.saas.hp.com/en/latest/help/WebHelp/Content/Tutorial/
Images/Load_testing_process.png (image.2015)
15
http://image.slidesharecdn.com/loadrunnerintroduction100612000219-phpapp01/95/what-is-loadrunner-5-728.jpg?
cb=1386039990(image.2015)
(Unknown.2016) VU Gen retrieved from (Unknown.2016)
Introduction retrieved from https://www.youtube.com/watch?
v=AicAqUC0K6Q
(Unknown.2016)
working
retrieved
https://www.youtube.com/watch?v=oOLoXxXMbfA
from
16