Why & How-Performance Test
Why & How-Performance Test
For: QAAC
By: Deepak
Table of Contents
Performance Test description and its need
Performance Test Objectives
Performance Testing Engagements
PVS Test Terminology
PVS Test Requirements
PVS Test Process
PVS Tool-set
Transaction Response Time
Response Times Vs Service-level agreements (SLAs)
Monitor Application and Database Server Usage
Performance Testing Best Practices
Benefits of Performance Testing
Summary and Conclusion
3
Other Terminology
Workload: The total user load exercised in a production
environment.
Workload Model: A subset of actual workload used for
performance testing (80/20 rule: 80% of the workload is
generated by 20% of the transactions mix).
Test Cycle: A group of testing scenarios designed to accomplish a
specific threshold or condition (production level conditions, future
production conditions, end-state conditions).
Scenario: A logical unit of work or a transaction sequence to
exercise a type of performance test that achieves a performance
test objective.
Script: Automated set of instructions to drive the performance test
during execution.
Virtual User: A software process that simulates real user
interactions with the application.
Response Time: The time it takes between initial request and
complete download of response (rendering of entire web page).
9
Requirement
Gathering
Pe
rf o
rm
an
ce
Te
st
in g
Ph
ase
s
Templates/Documents Needed
Performance Testing Questionnaire
Test Cases
Templates/Documents Needed
Performance Test Strategy
Effort Estimation Guideline
Templates/Documents Needed
Performance Testing Best Practices
Scripting Standards and Naming
Conventions Guidelines
Workload calculation
Templates/Documents Needed
Performance Test Report
11
Script Development
- Design test
- Develop workload model
- Build test bed
- Create script test data
Test Execution
- Performance/Load test
- Review initial output
- Volume and Endurance test
- Stress test
Result Analysis and Final
Report
- Executive summary
- Recommendations to
improve application
performance
- Results and Analysis
12
TUNE
13
PVS Tool-set
Mercury-HPs LoadRunner, Borland-Segues SilkPerformer,
Compuwares QA Load, IBMs RPT, and Empirixs eLoad
- Load injection and scenario design mirrors production
- Round trip transaction times
- Monitor application and architectural components
Perfmon/Sitescope
Web Analytics/Trends/Topaz/Gomez
Vantage/Sniffer/Netsense
Multi-Tier Architecture
For instance, its very
important to performance
test a complex architecture
which support highly
scalable and robust loadbalancing mechanisms at all
tiers of the architecture using
a combination of hardware
and software load-balancing.
All tiers can be scaled
individually by building
clusters of servers for loadbalancing and high
redundancy.
15
JSP
PWM
MQ
CICS
[Mainframe]
MQ Wrapper program
Agent
Insured
Home office employee
Policy Request
Admin Server
Request
[CobolCopybook]
MQ
Response
[CobolCopybook]
SeeBeyond
HTTP call
[XML]
16
- Response time
- Execution time
- Wait and connection times
Resource Consumption
Database Performance
18
0.9
Login Acceptance
Criteria 10 seconds
View Image
Acceptance
Criteria 30
seconds
0.8
Item Close
Acceptance Criteria
10 to 60 seconds
0.7
Logout
Acceptance
Criteria 5
seconds
0.6
0.5
0.4
Enter ID
Acceptance
Criteria 5
seconds
0.3
0.2
0.1
0
Claim s
Login
Corres.
Login
Claim s
Enter ID
Corres.
Enter ID
0.632
0.587
0.07
0.066
0.609
0.892
0.068
0.063
Claim s
View
Im age
Corres.
View
Im age
Claim s
Item
Close
Corres.
Item
Close
Claim s
Logout
Corres.
Logout
0.59
0.658
0.594
0.622
0.595
0.594
0.533
0.536
0.581
0.611
0.586
0.586
19
20
01:44:03.25 00:55:29.78
00:04:27.76 00:01:53.88
01:15:38.35 00:38:32.57
00:00:13.71 00:00:07.06
00:00:00.00 00:00:00.09
01:57:23.10 01:12:36.65
06:10:12.24
00:31:02.91
03:38:11.97
00:00:08.20
00:00:00.57
06:26:08.99
1,336
3,323
170,307
0
0
1
620
5,594
8,462
25,443
2,284,024
0
0
1
752
2,149,614
21
Design
$1x
23
24
Questions ?
For More Information contact:
Deepak Sharma
Email: Deepak.Sharma@Phooenixwm.com
PH: (860)4032195(O), (919)9397091(C)
25