Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
WHY?
Load testing the application prior to production ensures application will be
stable and any performance issues can be addressed in pre-production
phase
To ensure that the system is responsive to user interactions and handles
extreme loading without unacceptable operational degradation
To test response time and reliability by increased user traffic.
To identify which components are responsible for performance degradation
and what usage characteristics cause degradation to occur
how system will behave with large amount of data storage and its
processing
WHY?
To study the application behavior when the database is populated with
production like data and to find the impact on the application response time
and database overall health.
Does the system degrade gently or does the server shut down
Are appropriate messages displayed? E.g. Server not available.
Are transactions lost as capacity is exceeded
Are certain functions discontinued as capacity reaches the 80 or 90 percent level
WHY?
Stress Testing ensures the application which is tested for expected load can take
on spikes in the load condition like increase in rate of transactions and study its
impact on the system resources and helps tune and configure the system
optimally.
Non Scalable
Inaccurate
Incomplete
Inconclusive
PERFORMANCE MONITORS
LoadRunner
User
Controller Simulation
Internet/
WAN
Database
Controller
Web Server
Load Generator
App. Server
Internet
Database
Port
Port
Load Generator
Client Network
VPN Connectivity
Response Time
Mediator
Controller/ VUGen
Fire
a testmonitors
from Controller,
information
be
Online
capturesScenario
data from
servers
& will
network
resources
and data
Load
Generator
resides
in clients
network,
Required
nos.
of
(Hundreds/Thousand)
virtual
user
perform
Controller
is
the
central
console
Establish
VPN
connectivity
between
Vendors
network
&
sent the
back
to
controller
Controller remain
connected
to
Agentvirtual
on Loadusers
Generator
and
generates
on Application
Under
transferred
to agent
on a Load
Generator
which
resides
in
Vendor
Network
from
real
life
transaction
on
system
to
emulate
production
clients network.
Controller
& Load
Communicates
Test
to
emulate
the performance
live
conditions
mediator
throughout
theGenerator
test
&
display
online
Monitors
communicate
Controller
through
specified
port on
which Online
theenvironment
test
is managed
& with
Monitoring
over
fire wall component is installed
on specified
port
firewall.
Controller
& Mediator
machine
firewall
usingon
Monitor
over
firewall
component.
parameters
on console.
monitored
on mediator PC to monitor servers over Firewall
also communicates
on
port.
Alternatively
all
servers
can
be
monitored
directly
from controller,
Load
is
generated
in
clients
LAN,
where
application
resides, but
At the end of the test, Results
are
stored
in a database
individual
port
for environmental
each server need to bedo
opened
in firewall
sorepository
that
other
impact
response
allowing users tofactors
generate not
reports
& perform
time
Vendor Network
Offshore machine
will have remote
access
of
the
Controller
Results
are
stored
in
a
database
repository,
allowing users to
generate reports
&
perform
analysis
VPN Network
Load Generator
Thousands of Vusers
perform
real
time
transactions
on
a
system to emulate
production traffic
Response Time
Terminal in
Mediator
Vendor
network
Controller/ VUGen
Controller is the central
console from which the
load test is managed &
monitored
LR architecture
Automation Overcomes resource limitations
Replaces testers with Virtual Users
Runs many Vusers on few machines
Controller manages the Vusers
Controller
Monitoring &
Analysis
Vuser
host
Web server
Database
server
Application
server
Load Generation
Database
server
LR Basic flow
Phase
1
Plan Load
Test
Phase 2
Create Vuser
Scripts
Phase
3
Phase
4
Create
Scenarios
Run
Scenarios
Phase
5
Analyze
Results
LoadRunner
VUGEN
LoadRunner
CONTROLLER&
AN ALY S I S
Tune
System Based
on Analysis
Pitfall to avoid
KNOW YOUR APPLICATION
Varying the data being used during a performance test is essential.
If the data does not change, then a database may cache the