SlideShare a Scribd company logo
QUANG NGUYEN
Senior QA at KMS
quangxuan@gmail.com
Best Practices in Performance Test
STC 2014
AGENDA
OBJECTIVES
IDENTIFYING PERFORMANCE
REQUIREMENTS
DOING PERFORMANCE TEST TASKS
Q&A
OBJECTIVES
Sharing an approach
Doing performance testing
tasks efficiently
4
4
PERFORMANCE REQUIREMENTS
Identifying the business
transaction
5
• Define and document each execution step
• Identify all input data requirements and
expected responses
• Determine the type of users
• What is the connectivity path
• Will this be an active or passive transaction
Providing test data
6
Input data
• User
Credential
• Search
Criteria
• Associated
documents
Target data
• Sizing
• Data
Rollback
Runtime data
• Data
returned
from
application
Designing test environment
Numbers of
servers, load
balancing
strategy
Hardware
inventory,
software
inventory
External links
Numbers of
test machines
Network
infrastructure(L
AN, WAN,
CLOUD)
7
Designing test environment
8
This picture illustrate the typical deployment model
Setting performance targets
9
• In order to design realistic targets you need to
consider: environment, business
requirements, technical…Example
Target Names Target
Concurrent virtual users/concurrent application users 10000< target <100000
Response Time <1000 ms
Available time or up time available time > 24hrs
Throughput 100/sec
Network utilization
Data Error rate <2%
Server utilization
CPU utilization <80%
Memory utilization <4GB
Disk IO Wait <5%
Db processing delay < 500 ms
Choosing performance test
tool
• A test tool typically have the following
modules: scripting module, test management
module, load injectors, analysis module
• Evaluate a performance test tool you need to
consider: tool vendor support, licensing
model, scripting effort, solution versus load
testing tool, support/community
10
Estimating time
11
• Identify business transaction
• Prepare test environment
• Identify and create enough test data
• Prepare and execute performance test
• Analyze result and report
12
12
PERFORMANCE TEST TASKS
SETUP TEST ENVIRONMENT
• Allow enough time to configure and build the
environment
• Take external links into account
• Ensure correct deployment and configuration
of application, monitoring tool, performance
test tool.
TRANSACTION SCRIPTING
• Identify the transaction runtime data.
• Confirm and apply transaction input data
• Determine the transaction checkpoints
• Ensure that the transaction replays correctly
• Configure the right “think-time”
14
PERFORMANCE TEST
EXECUTION
• Execute baseline tests
• Execute load tests
• Execute isolation tests
• Execute soak tests (if time allows)
• Execute stress tests
15
ANALYZE RESULT
REPORT,RETEST
• Capture and back up all data created
• Compare test results to performance targets
• Root cause analysis
• Document the results of the project.
• Use the final results as baseline data for End
User Experience (EUE) monitoring.
16
Conclusions
• Performing performance test is not only a
challenge but also an interesting task. I hope
this presentation could help you apply this to
your real work.
17
References
• The art of application performance testing –
Ian Molyneaux
• Performance Testing Guidance for Web
Applications - J.D. Meier, Carlos Farre,Prashant
Bansode, Scott Barber, Dennis Rea
18
19
19
Q&A
© 2014 HCMC Software Testing Club
THANK YOU

More Related Content

PDF
[Vu Van Nguyen] Test Estimation in Practice
PDF
[Mush Honda] Metrics & Reports from Test Teams (QA)
PDF
[Paul Holland] Bad Metrics and What You Can Do About It
PPT
Rob Baarda - Are Real Test Metrics Predictive for the Future?
PPT
'How To Apply Lean Test Management' by Bob van de Burgt
PDF
Measurement and Metrics for Test Managers
PDF
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
PDF
software testing metrics do's - don'ts-XBOSoft-QAI Webinar
[Vu Van Nguyen] Test Estimation in Practice
[Mush Honda] Metrics & Reports from Test Teams (QA)
[Paul Holland] Bad Metrics and What You Can Do About It
Rob Baarda - Are Real Test Metrics Predictive for the Future?
'How To Apply Lean Test Management' by Bob van de Burgt
Measurement and Metrics for Test Managers
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
software testing metrics do's - don'ts-XBOSoft-QAI Webinar

What's hot (20)

PPT
'Customer Testing & Quality In Outsourced Development - A Story From An Insur...
PDF
Edwin Van Loon - How Much Testing is Enough - EuroSTAR 2010
PPTX
Overview of test process improvement frameworks
PDF
What is Test Matrix?
PDF
Software Testing - Defect Metrics & Analysis
PPT
Michael Snyman - Software Test Automation Success
PPT
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
PDF
Mobile Video Games Testing Principles - Benjamin Poirrier
PDF
The Test Process
PPTX
ISTQB Advanced Training
PPTX
Reliable Relevant Metrics to the Right Audience - Manual Testing Whitepaper
PPT
Testing Metrics
PDF
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
PPTX
T19 performance testing effort - estimation or guesstimation revised
PDF
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
PDF
02 - Testing Management - Crash Slides
PPT
Lean testing
PDF
[HCMC STC Jan 2015] Practical Experiences In Test Automation
PPTX
'Growing to a Next Level Test Organisation' by Tim Koomen
PPT
John Kent - An Entity Model for Software Testing
'Customer Testing & Quality In Outsourced Development - A Story From An Insur...
Edwin Van Loon - How Much Testing is Enough - EuroSTAR 2010
Overview of test process improvement frameworks
What is Test Matrix?
Software Testing - Defect Metrics & Analysis
Michael Snyman - Software Test Automation Success
'Houston We Have A Problem' by Rien van Vugt & Maurice Siteur
Mobile Video Games Testing Principles - Benjamin Poirrier
The Test Process
ISTQB Advanced Training
Reliable Relevant Metrics to the Right Audience - Manual Testing Whitepaper
Testing Metrics
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
T19 performance testing effort - estimation or guesstimation revised
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
02 - Testing Management - Crash Slides
Lean testing
[HCMC STC Jan 2015] Practical Experiences In Test Automation
'Growing to a Next Level Test Organisation' by Tim Koomen
John Kent - An Entity Model for Software Testing
Ad

Viewers also liked (20)

PDF
Day4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_Mode
PDF
Rfselenium2 redhat
PDF
Performance Test Driven Development with Oracle Coherence
PPTX
Performance Test Automation Framework Presentation
PDF
Web service performance_test_using_jmeter_ver1.2
PDF
Sonal foods
PDF
UKBIMA_BIMReview_Past_Present_Future_2016_10_14
PDF
Be an ingredient detective
PDF
EL CASO UBER
PPT
Muasc 2014 full dossier_en
PPTX
Web 2.0 tool SoundCloud
PDF
AGIForesight _2020_Full Article
PPTX
Jobs
PDF
Sonal foods
PDF
Survey and the Digital Plan of Works
DOCX
Alteration of Patent Protection Length in the Intellectual Property Provision...
PPTX
UKBIMA _101_MJP
PDF
Ul di dul pan giold
PDF
5 Reason Why You Can't Help Using a CRM for Sales
DOCX
Gscm strategies, in manufacturing ind.
Day4_Part 1_Apache_JMeter_Performance_Test_Execution_GUI_Mode
Rfselenium2 redhat
Performance Test Driven Development with Oracle Coherence
Performance Test Automation Framework Presentation
Web service performance_test_using_jmeter_ver1.2
Sonal foods
UKBIMA_BIMReview_Past_Present_Future_2016_10_14
Be an ingredient detective
EL CASO UBER
Muasc 2014 full dossier_en
Web 2.0 tool SoundCloud
AGIForesight _2020_Full Article
Jobs
Sonal foods
Survey and the Digital Plan of Works
Alteration of Patent Protection Length in the Intellectual Property Provision...
UKBIMA _101_MJP
Ul di dul pan giold
5 Reason Why You Can't Help Using a CRM for Sales
Gscm strategies, in manufacturing ind.
Ad

Similar to [Quang Nguyen] Performance Test in Best Practices (20)

PPTX
An Introduction to Performance Testing
PPTX
Introduction to performance testing
PDF
Heuristics of performance testing
PPTX
Performance testing
PPT
Performance testing and rpt
PPT
08-Performence_Testing Project Explain.ppt
PDF
Performance Testing.3zen.pdf
PPTX
Performance Testing Training in Hyderabad
PPTX
performance testing training in hyderabad
PPTX
performance testing training in hyderabad
PPTX
QSpiders - Introduction to JMeter
PDF
performance testing training in hyderabad
PPTX
Types of performance testing
PDF
typesofperformancetesting-130505055525-phpapp02.pdf
PPTX
Introduction to Performance Testing
PPT
Performance Testing Overview
PPTX
Performance Testing
PDF
Adding Value in the Cloud with Performance Test
PPTX
Performance Testing
PPT
performance testing
An Introduction to Performance Testing
Introduction to performance testing
Heuristics of performance testing
Performance testing
Performance testing and rpt
08-Performence_Testing Project Explain.ppt
Performance Testing.3zen.pdf
Performance Testing Training in Hyderabad
performance testing training in hyderabad
performance testing training in hyderabad
QSpiders - Introduction to JMeter
performance testing training in hyderabad
Types of performance testing
typesofperformancetesting-130505055525-phpapp02.pdf
Introduction to Performance Testing
Performance Testing Overview
Performance Testing
Adding Value in the Cloud with Performance Test
Performance Testing
performance testing

More from Ho Chi Minh City Software Testing Club (20)

PDF
Web API Test Automation Using Frisby & Node.js
PDF
Building an effective mobile testing strategy
PDF
Common Web UI Problems Transforming Manual to Automation
PDF
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
PDF
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
PDF
Test Design with Action-based Testing Methodology - Ngo Hoang Minh
PDF
Security testing-What can we do - Trinh Minh Hien
PDF
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
PDF
Analytical Risk-based and Specification-based Testing - Bui Duy Tam
PDF
Agile Testing - Not Just Tester’s Story _ Dang Thanh Long
PDF
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
PDF
Key Factors To Ensure Test Automation Framework Success
PDF
Why a Mobile Test Strategy is just Test Strategy
PDF
[HCMC STC Jan 2015] Risk-Based Software Testing Approaches
PDF
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
PDF
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
PDF
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
PDF
[HCMC STC Jan 2015] Proving Our Worth Quantifying The Value Of Testing
PDF
[HCMC STC Jan 2015] Choosing The Best Of The Plan-Driven And Agile Developmen...
PDF
[HCMC STC Jan 2015] Creating a Better Testing Future
Web API Test Automation Using Frisby & Node.js
Building an effective mobile testing strategy
Common Web UI Problems Transforming Manual to Automation
A Universal Automation Framework based on BDD Cucumber and Ruby on Rails - Ph...
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Test Design with Action-based Testing Methodology - Ngo Hoang Minh
Security testing-What can we do - Trinh Minh Hien
Deliver Fast, Break Nothing Via Effective Building Developer and Tester Colla...
Analytical Risk-based and Specification-based Testing - Bui Duy Tam
Agile Testing - Not Just Tester’s Story _ Dang Thanh Long
The New Agile Testing Quadrants: Bringing Skilled Testers and Developers Toge...
Key Factors To Ensure Test Automation Framework Success
Why a Mobile Test Strategy is just Test Strategy
[HCMC STC Jan 2015] Risk-Based Software Testing Approaches
[HCMC STC Jan 2015] Making IT Count – Agile Test Metrics
[HCMC STC Jan 2015] Workshop Of Context-Driven Testing In Agile
[HCMC STC Jan 2015] Developing an Offshore Context-Driven Testing Team
[HCMC STC Jan 2015] Proving Our Worth Quantifying The Value Of Testing
[HCMC STC Jan 2015] Choosing The Best Of The Plan-Driven And Agile Developmen...
[HCMC STC Jan 2015] Creating a Better Testing Future

Recently uploaded (20)

PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Digital Strategies for Manufacturing Companies
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Transform Your Business with a Software ERP System
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
L1 - Introduction to python Backend.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
AI in Product Development-omnex systems
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
Design an Analysis of Algorithms I-SECS-1021-03
Softaken Excel to vCard Converter Software.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Digital Strategies for Manufacturing Companies
ISO 45001 Occupational Health and Safety Management System
VVF-Customer-Presentation2025-Ver1.9.pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Transform Your Business with a Software ERP System
ManageIQ - Sprint 268 Review - Slide Deck
Upgrade and Innovation Strategies for SAP ERP Customers
L1 - Introduction to python Backend.pptx
Understanding Forklifts - TECH EHS Solution
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
AI in Product Development-omnex systems
Design an Analysis of Algorithms II-SECS-1021-03
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Wondershare Filmora 15 Crack With Activation Key [2025
2025 Textile ERP Trends: SAP, Odoo & Oracle

[Quang Nguyen] Performance Test in Best Practices

  • 1. QUANG NGUYEN Senior QA at KMS quangxuan@gmail.com Best Practices in Performance Test STC 2014
  • 3. OBJECTIVES Sharing an approach Doing performance testing tasks efficiently
  • 5. Identifying the business transaction 5 • Define and document each execution step • Identify all input data requirements and expected responses • Determine the type of users • What is the connectivity path • Will this be an active or passive transaction
  • 6. Providing test data 6 Input data • User Credential • Search Criteria • Associated documents Target data • Sizing • Data Rollback Runtime data • Data returned from application
  • 7. Designing test environment Numbers of servers, load balancing strategy Hardware inventory, software inventory External links Numbers of test machines Network infrastructure(L AN, WAN, CLOUD) 7
  • 8. Designing test environment 8 This picture illustrate the typical deployment model
  • 9. Setting performance targets 9 • In order to design realistic targets you need to consider: environment, business requirements, technical…Example Target Names Target Concurrent virtual users/concurrent application users 10000< target <100000 Response Time <1000 ms Available time or up time available time > 24hrs Throughput 100/sec Network utilization Data Error rate <2% Server utilization CPU utilization <80% Memory utilization <4GB Disk IO Wait <5% Db processing delay < 500 ms
  • 10. Choosing performance test tool • A test tool typically have the following modules: scripting module, test management module, load injectors, analysis module • Evaluate a performance test tool you need to consider: tool vendor support, licensing model, scripting effort, solution versus load testing tool, support/community 10
  • 11. Estimating time 11 • Identify business transaction • Prepare test environment • Identify and create enough test data • Prepare and execute performance test • Analyze result and report
  • 13. SETUP TEST ENVIRONMENT • Allow enough time to configure and build the environment • Take external links into account • Ensure correct deployment and configuration of application, monitoring tool, performance test tool.
  • 14. TRANSACTION SCRIPTING • Identify the transaction runtime data. • Confirm and apply transaction input data • Determine the transaction checkpoints • Ensure that the transaction replays correctly • Configure the right “think-time” 14
  • 15. PERFORMANCE TEST EXECUTION • Execute baseline tests • Execute load tests • Execute isolation tests • Execute soak tests (if time allows) • Execute stress tests 15
  • 16. ANALYZE RESULT REPORT,RETEST • Capture and back up all data created • Compare test results to performance targets • Root cause analysis • Document the results of the project. • Use the final results as baseline data for End User Experience (EUE) monitoring. 16
  • 17. Conclusions • Performing performance test is not only a challenge but also an interesting task. I hope this presentation could help you apply this to your real work. 17
  • 18. References • The art of application performance testing – Ian Molyneaux • Performance Testing Guidance for Web Applications - J.D. Meier, Carlos Farre,Prashant Bansode, Scott Barber, Dennis Rea 18
  • 20. © 2014 HCMC Software Testing Club THANK YOU