2. AGENDA
WHAT & WHY PERFORMANCE TESTING
TYPES OF PERFORMANCE TESTING
MANUAL TESTING LIMITATIONS
LOAD TESTING TOOLS
LOAD TEST TERMS
PERFORMANCE TESTING ARHCITECTURE
INTRODUCTION TO LOAD RUNNER
LOAD RUNNER COMPONENTS
DESIGNING A SCENARIO
EXECUTING A SCENARIO
ANALYZING RESULTS
Q & A
ON SCREEN EXAMPLE
3. PERFORMANCE TESTING
WHAT?
A non-functional testing technique
Determines the system parameters in terms of responsiveness, speed, stability, throughput
and reliability under various workload
Uncovers what needs to be improved before the product goes to market
WHY?
Does the application respond quick enough on several users?
Does it meet client requirements
Will it bear expected user load or beyond load?
Search results example
WHICH?
Always done for client server based systems only
4. TYPES OF PERFORMANCE TESTING
LOAD TESTING - measures the system performance based on a volume of users.
STRESS TESTING – measures application under extreme workloads, measure the breakpoint of a
system
ENDURANCE TESTING – measures application can handle the expected load over a long period of
time.
SPIKE TESTING – measures how the system behaves under unexpected heavy load conditions, and
its ability to recover.
VOLUME TESTING – measures performance under varying database volumes
SCALABILIT TESTING - measures the software application's effectiveness in "scaling up" to
support an increase in user load. Helps plan capacity addition to your software system.
5. MANUAL TESTING LIMITATIONS
Expensive
Time consuming
Not Availability of man power and machinery
Complicated in terms of Concurrency
Inaccurate or probabilistic results
7. LOAD TEST TERMS / VARIABLES
VUSER
PROTOCOL
SCENARIO
THINK TIME
PARAMETERS
TRANSACTIONS
RENDEZVOUS POINT
CORRELATION
CONTROLLER
RAMP UP / DOWN
PACING
8. THE PROCESS
PLANNING THE TEST
CREATING VUSERS SCRIPT
CREATING SCENARIO
RUNNING SCENARIO
MONITORING SCENARIO
ANALYZING RESULT
9. LOADRUNNER?
An automated solution by HP now Micro focus.
Founded in April 2000
Latest version 12.55
Replaces human users with virtual users (Vusers)
Creates peak and controlled load situations
Reduces hardware requirements
Controls from a single component
10. LR COMPONENTS
VUGEN
Records and edits Vuser scripts
CONTROLLER
An administrative center for creating, maintaining, and executing
Scenarios
LOAD GENERATOR
Generates the load against the application by following scripts
ANALYSIS
Assembles logs from various load generators and formats reports for
visualization of run result data and monitoring data.