Beruflich Dokumente
Kultur Dokumente
Sudheer Parpatakam
2
Why Load Test Your Application?
Prevents costly failures of mission-critical
applications.
3
Types of Performance Testing
4
Examples of Performance Test Objectives
Application response Reliability
time • How stable is the system
• How long does it take to under a heavy work load?
complete a task?
Capacity planning
Configuration sizing • At what point does
• Which configuration provides performance degradation
the best performance level? occur?
Regression Bottleneck
identification
• Does a new version of the
software adversely affect • What is the cause of the
response time? performance degrading?
5
Performance Testing Expert Workflow
• Establish Goals
• Gather System Usage Information
• Analyze System Under Test
6
GOALS
Defining Goals
Why start with conceptual goals?
Conceptual goals should outline all of
your load test objectives.
7
GOALS
8
GATHERING INFORMATION
9
GATHERING DATA
10
ANALYZING SYSTEM
11
BUSINESS PROCESSES
Heavy Throughput
• Heavy throughput business processes may not be mission-
critical but are very popular.
Dynamic Content
• Dynamic content consists of sever requests that are
customized for each user.
12
BUSINESS PROCESSES
13
BUSINESS PROCESSES
14
BUSINESS PROCESSES
15
BUSINESS PROCESSES
16
DOCUMENTATION
17
DOCUMENTATION
18
DOCUMENTATION
19
CONCURRENCY
Defining Concurrency
Concurrency
A set of users acting upon an application in a similar manner at the same
time.
Application Level
• How many users are active on the system?
Transaction Level
• How many users are buying tickets NOW?
20
CONCURRENCY
Application Concurrency
21
CONCURRENCY
22
CONCURRENCY
Transaction Concurrency
23
ANALYZING SYSTEM
24
ANALYZING SYSTEM
25
MONITORING
26
ENVIRONMENT
27
HP LOADRUNNER SOLUTION
28
HP LOADRUNNER SOLUTION
29
LOADRUNNER COMPONENTS
30
LOADRUNNER COMPONENTS
VuGen
VuGen
Virtual User Generator (VuGen) – records Vuser scripts that emulate the
steps of real users using the application.
31
PROTOCOLS
Supported Protocols
32
MONITORING PERFORMANCE
33
BENCHMARK
Benchmarking Run
To validate that there is enough test hardware
available in the test environment, benchmark the
business processes against the testing hardware.
Take a business process and execute a small number
of users against the application.
• Validates the functionality of the business process
• Potentially exposes unknown data dependencies
34
Summary
35
Questions?
36
37