SlideShare a Scribd company logo
1 of 48
Performance Testing in 5 Steps:
'A Guideline to a Successful Load
Test'
Mieke Gevers
Mieke Gevers, AQIS - Belgium
© 2008-2009 AQIS bvba 3
Agenda
1. What is load testing?
2. Methodology
3. Conclusion
© 2008-2009 AQIS bvba 4
Agenda
1. What is load testing?
a. Terminology
b. Challenges
2. Methodology
3. Conclusion
© 2008-2009 AQIS bvba 5
1. Terminology
• "load testing" usually is defined as the
process of exercising the system under
test by feeding it the largest tasks it can
operate with.
• Load testing is sometimes called volume
testing, or longevity/endurance testing.
© 2008-2009 AQIS bvba 6
1. Terminology
• “Stress testing” is testing by trying to break
the system under test by using
overwhelming resources or by taking
resources away from it (in which case it is
sometimes called negative testing).
© 2008-2009 AQIS bvba 7
• Failover Tests : verify of redundancy
mechanisms while under load.
• Can the system-under-test recover &/or react
quickly enough? Can the other web servers
(load balancers) handle the sudden dumping of
extra load?
• Advantage: Allowing technicians to address
problems in advance, in the comfort of a testing
situation, rather than in the heat of a production
outage.
1. Terminology
© 2008-2009 AQIS bvba 8
• Soak Tests ~ Endurance Testing : running
a system at high levels of load for
prolonged periods of time.
• Ideal for finding memory leaks and other
defects which make a system prone to
crashing/breaking after a certain number
of iterations
1. Terminology
© 2008-2009 AQIS bvba 9
1. Terminology
• Network Sensitivity Tests : are tests that
set up scenarios of varying types of
network activity (traffic, error rates...), and
then measure the impact of that traffic on
various applications that are bandwidth
dependant.
• eg. Chat applications, Streaming Media…
© 2008-2009 AQIS bvba 10
1. Terminology
• Targeted Infrastructure Test : are Isolated tests
of each layer and or component in an end to end
application configuration. It includes all
components of the AUT infrastructure and
beyond.
• eg. includes communications infrastructure,
Load Balancers, Web Servers, Application
Servers, Crypto cards, Citrix Servers,
Database…
• Goal: identifying any performance issues that
would fundamentally limit the overall ability of a
system to deliver at a given performance level.
© 2008-2009 AQIS bvba 11
1. Terminology
Time
Predicted
point of failure
Upgraded Capacity
Existing Capacity
Lead
TimeTrigger
Point
Anticipated
Peak Loads
Work
load
Usable
Reserve
Capacity
Point Response Time
degradation becomes
noticeable
Current
load
©copyright 2004-2005 by Wilson Mar. All rights reserved.
Performance testing is the overall process,
Stress Test
Load Test
Scalability
© 2008-2009 AQIS bvba 12
2. Challenges
© 2008-2009 AQIS bvba 13
2. Challenge 1 : Communication
The requirements
specification was
defined like this
The developers
understood it
in that way
This is how the
problem was
solved before.
This is how the
problem is
solved now
That is the program
after debugging
This is how the program
is described by
marketing department
This, in fact, is what the
customer wanted … ;-)
© 2008-2009 AQIS bvba 14
2. Challenge 2 : HW & SW
© 2008-2009 AQIS bvba 15
2. Challenge 2 : HW & SW
Security
© 2008-2009 AQIS bvba 16
2. Challenge 3 : User Nature
© 2008-2009 AQIS bvba 17
2. Challenge 3 : User Nature
© 2008-2009 AQIS bvba 18
2. Challenge 3 : User Nature
© 2008-2009 AQIS bvba 19
Response Times: The Three Important Limits [Miller 1968; Card et al. 1991]:
•0.1 second
limit for having the user feel that the system is reacting instantaneously
•1.0 second
limit for the user's flow of thought to stay uninterrupted, even though the
user will notice the delay.
•10 seconds
limit for keeping the user's attention focused on the dialogue. For longer
delays, users will want to perform other tasks while waiting for the
computer to finish, so they should be given feedback indicating when the
computer expects to be done.
2. Challenge 3 : User Nature
© 2008-2009 AQIS bvba 20
• Computer scientists identify future IT
challenges
Goals for IT using the power of quantum
physics, building systems that can't go wrong
“Ambitious goals include harnessing the power
of quantum physics, building systems that
can't go wrong, and simulating living creatures
in every detail.” By Peter Sayer, IDG News Service January 25, 2005
2. Challenge 4 : Future
© 2008-2009 AQIS bvba 21
2. Challenge 5 : Resources
• HW
• Infrastructure
• Access
• People
• Time
• ....
© 2008-2009 AQIS bvba 22
Agenda
1. What is load testing?
2. Methodology
3. Conclusion
© 2008-2009 AQIS bvba 23
3. Methodology
Analyze
© 2008-2009 AQIS bvba 24
Documentation
© 2008-2009 AQIS bvba 25
1. Determine system performance, response time, and
throughput under a specific load
2. Testing the ability to handle load (and stress) to identify
bottlenecks
3. Evaluating whether system resources are being
utilised efficiently
4. Testing system robustness and capability to recover
from errors
5. Testing across different configurations or versions
6. Testing systems for scalability
1. Goals
© 2008-2009 AQIS bvba 26
Examine SUT
• Architecture
Overviews
• Deployment Topology
• 3rd party components
and SLA’s
• Firewall capacity
• Load balancing
• Connectivity
• Network
• Session management
• All queues
• Caching models
• Security methods
• Fail over mechanisms
• Redundancy
• Bandwidth
• ……
© 2008-2009 AQIS bvba 28
5 steps
Analyze
Plan/Define/Design scenario's
© 2008-2009 AQIS bvba 29
Design and Model
1. Transactions and Workflows scenario's
2. User profiling and modeling
3. Workload scenario's
4. Test environment
5. Test data
© 2008-2009 AQIS bvba 30
1. Transition matrix
online shopping visit
 Make Flow-charts of Functional Paths through the
application-under-test.
 Break this down in Logical modules = transactions
© 2008-2009 AQIS bvba 31
2. User Profiling
• User activities, transactions and usage
patterns
• Client platforms and preferences
• Client Internet access speeds and browser
types
• User geographic locations
© 2008-2009 AQIS bvba 32
3. Workflow Modeling
• Size of customer base
• Growth factor
• Site arrival rates and site abandonment
• Think times and latency
• Background noise
© 2008-2009 AQIS bvba 33
4. Test environment
• Production replica
–Expensive, usually not possible
• Scaled down
–Extrapolation factor
• Actual production equipment
–For new applications
© 2008-2009 AQIS bvba 34
5. Test data
• Data
• Randomized
• Database
• Cookies, Session ID’s, Hidden ID’s, values
• Certificates
• Security settings
• IP addresses identifications
• User specifics identifications, PKI’s
© 2008-2009 AQIS bvba 35
6 steps
Analyze
Plan/Define/Design scenario's
Build/Record scenario’s
© 2008-2009 AQIS bvba 36
Load Test scenario's
• Program Perl, Java
• Stubs
• HW devices
• FreeWare tools
• Commercial Tools (capture & playback)
•...
© 2008-2009 AQIS bvba 37
How to reproduce correct web
behavior?
• Correct environment simulation
– Correct protocol (Business level)
– Speed
– UI (Browser/MMS/..)
– Security simulation/usage
– Calculating the amount of virtual users and
the arrival rate
– ...
© 2008-2009 AQIS bvba 38
5 steps
Analyze
Plan/Define/Design scenario's
Build/Record scenario’s
Baseline + Load Test
© 2008-2009 AQIS bvba 39
What is a baseline?
• Baseline with one user
• Monitor the involved back-end
systems
• Can the load test achieve the goals
• Test-runs
© 2008-2009 AQIS bvba 40
Load Testing: How?
© 2008-2009 AQIS
bvba
41
Users Internet Firewall
Load
balancers
Web
Servers
Application
Servers
DB ServersLAN
© 2008-2009 AQIS bvba 42
Monitoring
© 2008-2009 AQIS bvba 43
What to Measure
 Maximum login requests (per min/per sec)
 Average session length (at peak)
 max. Concurrent sessions
 Average pages per session
 Average hits per page
 Average request distribution
 Average size of a page & specific size of a page
 Arrival rates
Tip: Session length(in min)= Max_concurrent_sessions/
Login_requests_per_min
Metrics
© 2008-2009 AQIS bvba 44
5 steps
Analyze
Plan/Define/Design scenario's
Build/Record scenario’s
Reporting
Baseline + Load Test
© 2008-2009 AQIS bvba 45
Analysing Results
– Correlation of monitor and load test data –
root cause analysis
© 2008-2009 AQIS bvba 46
6 steps?
Analyze
Plan/Define/Design scenario's
Build/Record scenario’s
Baseline + Load Test
Reporting
Iteration-Monitor
© 2008-2009 AQIS bvba 47
Tips
• Be aware of constant changes
• Constantly training
• User behaviours
• Increase of transactions (seasonal –
permanent)
• Use Common Sence
© 2008-2009 AQIS bvba 48
 Capacity planning for “Web performance”, Menascé
 Building High-Scalability Server Farms, 1999 Microsoft Corporation
 Detecting System Bottlenecks in Sites Using Site Server 3.0 Commerce
Edition, 1999 Microsoft Corporation
 Design for scalability, IBM High-Volume Web site team, December 1999
http://www7b.boulder.ibm.com/wsdd/library/techarticles/hvws/scalability.html
 Performane Testing Guidance for Web applications, Scott Barber
 ISO 9126, ISO/IEC 12207:2008, International Organization for
Standardization
Resources
© 2008-2009 AQIS
bvba
49
Questions &
Thank you !
Mieke Gevers
info@aqis.eu
www.aqis.eu
Agile Quality in
Information Systems

More Related Content

What's hot

Mattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingMattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingTEST Huddle
 
Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...
Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...
Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...TEST Huddle
 
Hakan Fredriksson - Experiences With MBT and Qtronic
Hakan Fredriksson - Experiences With MBT and Qtronic Hakan Fredriksson - Experiences With MBT and Qtronic
Hakan Fredriksson - Experiences With MBT and Qtronic TEST Huddle
 
Rob Baarda - Are Real Test Metrics Predictive for the Future?
Rob Baarda - Are Real Test Metrics Predictive for the Future?Rob Baarda - Are Real Test Metrics Predictive for the Future?
Rob Baarda - Are Real Test Metrics Predictive for the Future?TEST Huddle
 
Wim Demey - Regression Testing in a Migration Project
Wim Demey - Regression Testing in a Migration Project Wim Demey - Regression Testing in a Migration Project
Wim Demey - Regression Testing in a Migration Project TEST Huddle
 
T19 performance testing effort - estimation or guesstimation revised
T19   performance testing effort - estimation or guesstimation revisedT19   performance testing effort - estimation or guesstimation revised
T19 performance testing effort - estimation or guesstimation revisedTEST Huddle
 
Klaus Olsen - Agile Test Management Using Scrum
Klaus Olsen - Agile Test Management Using ScrumKlaus Olsen - Agile Test Management Using Scrum
Klaus Olsen - Agile Test Management Using ScrumTEST Huddle
 
Derk jan de Grood - ET, Best of Both Worlds
Derk jan de Grood - ET, Best of Both WorldsDerk jan de Grood - ET, Best of Both Worlds
Derk jan de Grood - ET, Best of Both WorldsTEST Huddle
 
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010TEST Huddle
 
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010TEST Huddle
 
Lauri Pietarinen - What's Wrong With My Test Data
Lauri Pietarinen - What's Wrong With My Test DataLauri Pietarinen - What's Wrong With My Test Data
Lauri Pietarinen - What's Wrong With My Test DataTEST Huddle
 
Graham Bath - SOA: Whats in it for Testers?
Graham Bath - SOA: Whats in it for Testers?Graham Bath - SOA: Whats in it for Testers?
Graham Bath - SOA: Whats in it for Testers?TEST Huddle
 
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
'Automated Reliability Testing via Hardware Interfaces' by Bryan BakkerTEST Huddle
 
Bruno Legeard - Model-Based Testing of a Financial Application
Bruno Legeard -  Model-Based Testing of a Financial ApplicationBruno Legeard -  Model-Based Testing of a Financial Application
Bruno Legeard - Model-Based Testing of a Financial ApplicationTEST Huddle
 
want to contact me login to www.stqa.org
want to contact me login to www.stqa.orgwant to contact me login to www.stqa.org
want to contact me login to www.stqa.orgnazeer pasha
 
Edwin Van Loon - How Much Testing is Enough - EuroSTAR 2010
Edwin Van Loon -  How Much Testing is Enough - EuroSTAR 2010Edwin Van Loon -  How Much Testing is Enough - EuroSTAR 2010
Edwin Van Loon - How Much Testing is Enough - EuroSTAR 2010TEST Huddle
 
Mickiel Vroon - Test Environment, The Future Achilles’ Heel
Mickiel Vroon - Test Environment, The Future Achilles’ HeelMickiel Vroon - Test Environment, The Future Achilles’ Heel
Mickiel Vroon - Test Environment, The Future Achilles’ HeelTEST Huddle
 

What's hot (20)

Mattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario TestingMattias Ratert - Incremental Scenario Testing
Mattias Ratert - Incremental Scenario Testing
 
Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...
Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...
Christian Bk Hansen - Agile on Huge Banking Mainframe Legacy Systems - EuroST...
 
Hakan Fredriksson - Experiences With MBT and Qtronic
Hakan Fredriksson - Experiences With MBT and Qtronic Hakan Fredriksson - Experiences With MBT and Qtronic
Hakan Fredriksson - Experiences With MBT and Qtronic
 
Rob Baarda - Are Real Test Metrics Predictive for the Future?
Rob Baarda - Are Real Test Metrics Predictive for the Future?Rob Baarda - Are Real Test Metrics Predictive for the Future?
Rob Baarda - Are Real Test Metrics Predictive for the Future?
 
Wim Demey - Regression Testing in a Migration Project
Wim Demey - Regression Testing in a Migration Project Wim Demey - Regression Testing in a Migration Project
Wim Demey - Regression Testing in a Migration Project
 
T19 performance testing effort - estimation or guesstimation revised
T19   performance testing effort - estimation or guesstimation revisedT19   performance testing effort - estimation or guesstimation revised
T19 performance testing effort - estimation or guesstimation revised
 
Klaus Olsen - Agile Test Management Using Scrum
Klaus Olsen - Agile Test Management Using ScrumKlaus Olsen - Agile Test Management Using Scrum
Klaus Olsen - Agile Test Management Using Scrum
 
Derk jan de Grood - ET, Best of Both Worlds
Derk jan de Grood - ET, Best of Both WorldsDerk jan de Grood - ET, Best of Both Worlds
Derk jan de Grood - ET, Best of Both Worlds
 
Training program BaffleSol academy of learning
Training program BaffleSol academy of learningTraining program BaffleSol academy of learning
Training program BaffleSol academy of learning
 
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
 
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
 
Lauri Pietarinen - What's Wrong With My Test Data
Lauri Pietarinen - What's Wrong With My Test DataLauri Pietarinen - What's Wrong With My Test Data
Lauri Pietarinen - What's Wrong With My Test Data
 
Graham Bath - SOA: Whats in it for Testers?
Graham Bath - SOA: Whats in it for Testers?Graham Bath - SOA: Whats in it for Testers?
Graham Bath - SOA: Whats in it for Testers?
 
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
 
Testing
TestingTesting
Testing
 
Bruno Legeard - Model-Based Testing of a Financial Application
Bruno Legeard -  Model-Based Testing of a Financial ApplicationBruno Legeard -  Model-Based Testing of a Financial Application
Bruno Legeard - Model-Based Testing of a Financial Application
 
want to contact me login to www.stqa.org
want to contact me login to www.stqa.orgwant to contact me login to www.stqa.org
want to contact me login to www.stqa.org
 
Edwin Van Loon - How Much Testing is Enough - EuroSTAR 2010
Edwin Van Loon -  How Much Testing is Enough - EuroSTAR 2010Edwin Van Loon -  How Much Testing is Enough - EuroSTAR 2010
Edwin Van Loon - How Much Testing is Enough - EuroSTAR 2010
 
Mickiel Vroon - Test Environment, The Future Achilles’ Heel
Mickiel Vroon - Test Environment, The Future Achilles’ HeelMickiel Vroon - Test Environment, The Future Achilles’ Heel
Mickiel Vroon - Test Environment, The Future Achilles’ Heel
 
Tracking through kanban
Tracking through kanbanTracking through kanban
Tracking through kanban
 

Similar to Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful Load Test

Testing Applications—For the Cloud and in the Cloud
Testing Applications—For the Cloud and in the CloudTesting Applications—For the Cloud and in the Cloud
Testing Applications—For the Cloud and in the CloudTechWell
 
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6Sravanthi N
 
Tools. Techniques. Trouble?
Tools. Techniques. Trouble?Tools. Techniques. Trouble?
Tools. Techniques. Trouble?Testplant
 
Testing the Migration of Monolithic Applications to Microservices on the Cloud
Testing the Migration of Monolithic Applications to Microservices on the CloudTesting the Migration of Monolithic Applications to Microservices on the Cloud
Testing the Migration of Monolithic Applications to Microservices on the CloudNagarro
 
Resilience planning and how the empire strikes back
Resilience planning and how the empire strikes backResilience planning and how the empire strikes back
Resilience planning and how the empire strikes backBhakti Mehta
 
Software UAT Case study - Finserv
Software UAT Case study - FinservSoftware UAT Case study - Finserv
Software UAT Case study - FinservOAK Systems Pvt Ltd
 
Resilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes BackResilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes BackC4Media
 
Adding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance TestAdding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance TestRodolfo Kohn
 
A Year of “Testing” the Cloud for Development and Test
A Year of “Testing” the Cloud for Development and TestA Year of “Testing” the Cloud for Development and Test
A Year of “Testing” the Cloud for Development and TestTechWell
 
Infrastructure Strategy
Infrastructure StrategyInfrastructure Strategy
Infrastructure StrategyRobert Jones
 
Bugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perfBugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perfNitisak Mooltreesri
 
Testing Microservices
Testing MicroservicesTesting Microservices
Testing MicroservicesNagarro
 
Service Testing & Virtualization in an Enterprise Environments
Service Testing & Virtualization in an Enterprise EnvironmentsService Testing & Virtualization in an Enterprise Environments
Service Testing & Virtualization in an Enterprise EnvironmentsDevOps for Enterprise Systems
 
Cloud Computing and Agile Product Line Engineering Integration
Cloud Computing and Agile Product Line Engineering IntegrationCloud Computing and Agile Product Line Engineering Integration
Cloud Computing and Agile Product Line Engineering IntegrationHeba Elshandidy
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testingQualitest
 
Lessons from Large-Scale Cloud Software at Databricks
Lessons from Large-Scale Cloud Software at DatabricksLessons from Large-Scale Cloud Software at Databricks
Lessons from Large-Scale Cloud Software at DatabricksMatei Zaharia
 
Semantic Validation: Enforcing Kafka Data Quality Through Schema-Driven Verif...
Semantic Validation: Enforcing Kafka Data Quality Through Schema-Driven Verif...Semantic Validation: Enforcing Kafka Data Quality Through Schema-Driven Verif...
Semantic Validation: Enforcing Kafka Data Quality Through Schema-Driven Verif...HostedbyConfluent
 

Similar to Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful Load Test (20)

JMeter
JMeterJMeter
JMeter
 
Testing Applications—For the Cloud and in the Cloud
Testing Applications—For the Cloud and in the CloudTesting Applications—For the Cloud and in the Cloud
Testing Applications—For the Cloud and in the Cloud
 
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6
 
Tools. Techniques. Trouble?
Tools. Techniques. Trouble?Tools. Techniques. Trouble?
Tools. Techniques. Trouble?
 
Neev Load Testing Services
Neev Load Testing ServicesNeev Load Testing Services
Neev Load Testing Services
 
Testing the Migration of Monolithic Applications to Microservices on the Cloud
Testing the Migration of Monolithic Applications to Microservices on the CloudTesting the Migration of Monolithic Applications to Microservices on the Cloud
Testing the Migration of Monolithic Applications to Microservices on the Cloud
 
Designing Scalable Applications
Designing Scalable ApplicationsDesigning Scalable Applications
Designing Scalable Applications
 
Resilience planning and how the empire strikes back
Resilience planning and how the empire strikes backResilience planning and how the empire strikes back
Resilience planning and how the empire strikes back
 
Software UAT Case study - Finserv
Software UAT Case study - FinservSoftware UAT Case study - Finserv
Software UAT Case study - Finserv
 
Resilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes BackResilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes Back
 
Adding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance TestAdding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance Test
 
A Year of “Testing” the Cloud for Development and Test
A Year of “Testing” the Cloud for Development and TestA Year of “Testing” the Cloud for Development and Test
A Year of “Testing” the Cloud for Development and Test
 
Infrastructure Strategy
Infrastructure StrategyInfrastructure Strategy
Infrastructure Strategy
 
Bugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perfBugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perf
 
Testing Microservices
Testing MicroservicesTesting Microservices
Testing Microservices
 
Service Testing & Virtualization in an Enterprise Environments
Service Testing & Virtualization in an Enterprise EnvironmentsService Testing & Virtualization in an Enterprise Environments
Service Testing & Virtualization in an Enterprise Environments
 
Cloud Computing and Agile Product Line Engineering Integration
Cloud Computing and Agile Product Line Engineering IntegrationCloud Computing and Agile Product Line Engineering Integration
Cloud Computing and Agile Product Line Engineering Integration
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
 
Lessons from Large-Scale Cloud Software at Databricks
Lessons from Large-Scale Cloud Software at DatabricksLessons from Large-Scale Cloud Software at Databricks
Lessons from Large-Scale Cloud Software at Databricks
 
Semantic Validation: Enforcing Kafka Data Quality Through Schema-Driven Verif...
Semantic Validation: Enforcing Kafka Data Quality Through Schema-Driven Verif...Semantic Validation: Enforcing Kafka Data Quality Through Schema-Driven Verif...
Semantic Validation: Enforcing Kafka Data Quality Through Schema-Driven Verif...
 

More from TEST Huddle

Why We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureWhy We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureTEST Huddle
 
Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar TEST Huddle
 
Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway TEST Huddle
 
Being a Tester in Scrum
Being a Tester in ScrumBeing a Tester in Scrum
Being a Tester in ScrumTEST Huddle
 
Leveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsLeveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsTEST Huddle
 
Using Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkUsing Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkTEST Huddle
 
Big Data: The Magic to Attain New Heights
Big Data:  The Magic to Attain New HeightsBig Data:  The Magic to Attain New Heights
Big Data: The Magic to Attain New HeightsTEST Huddle
 
Will Robots Replace Testers?
Will Robots Replace Testers?Will Robots Replace Testers?
Will Robots Replace Testers?TEST Huddle
 
TDD For The Rest Of Us
TDD For The Rest Of UsTDD For The Rest Of Us
TDD For The Rest Of UsTEST Huddle
 
Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)TEST Huddle
 
Creating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesCreating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesTEST Huddle
 
Is There A Risk?
Is There A Risk?Is There A Risk?
Is There A Risk?TEST Huddle
 
Are Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test CoverageAre Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test CoverageTEST Huddle
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersTEST Huddle
 
Do we need testers on agile teams?
Do we need testers on agile teams?Do we need testers on agile teams?
Do we need testers on agile teams?TEST Huddle
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfullyTEST Huddle
 
Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey TEST Huddle
 
Practical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsPractical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsTEST Huddle
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your RoleTEST Huddle
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0TEST Huddle
 

More from TEST Huddle (20)

Why We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureWhy We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- Accenture
 
Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar
 
Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway
 
Being a Tester in Scrum
Being a Tester in ScrumBeing a Tester in Scrum
Being a Tester in Scrum
 
Leveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsLeveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional Tests
 
Using Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkUsing Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test Work
 
Big Data: The Magic to Attain New Heights
Big Data:  The Magic to Attain New HeightsBig Data:  The Magic to Attain New Heights
Big Data: The Magic to Attain New Heights
 
Will Robots Replace Testers?
Will Robots Replace Testers?Will Robots Replace Testers?
Will Robots Replace Testers?
 
TDD For The Rest Of Us
TDD For The Rest Of UsTDD For The Rest Of Us
TDD For The Rest Of Us
 
Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)
 
Creating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesCreating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger Enterprises
 
Is There A Risk?
Is There A Risk?Is There A Risk?
Is There A Risk?
 
Are Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test CoverageAre Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test Coverage
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for Testers
 
Do we need testers on agile teams?
Do we need testers on agile teams?Do we need testers on agile teams?
Do we need testers on agile teams?
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
 
Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey
 
Practical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsPractical Test Strategy Using Heuristics
Practical Test Strategy Using Heuristics
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your Role
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0
 

Recently uploaded

8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 

Recently uploaded (20)

8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 

Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful Load Test

  • 1. Performance Testing in 5 Steps: 'A Guideline to a Successful Load Test' Mieke Gevers
  • 2. Mieke Gevers, AQIS - Belgium
  • 3. © 2008-2009 AQIS bvba 3 Agenda 1. What is load testing? 2. Methodology 3. Conclusion
  • 4. © 2008-2009 AQIS bvba 4 Agenda 1. What is load testing? a. Terminology b. Challenges 2. Methodology 3. Conclusion
  • 5. © 2008-2009 AQIS bvba 5 1. Terminology • "load testing" usually is defined as the process of exercising the system under test by feeding it the largest tasks it can operate with. • Load testing is sometimes called volume testing, or longevity/endurance testing.
  • 6. © 2008-2009 AQIS bvba 6 1. Terminology • “Stress testing” is testing by trying to break the system under test by using overwhelming resources or by taking resources away from it (in which case it is sometimes called negative testing).
  • 7. © 2008-2009 AQIS bvba 7 • Failover Tests : verify of redundancy mechanisms while under load. • Can the system-under-test recover &/or react quickly enough? Can the other web servers (load balancers) handle the sudden dumping of extra load? • Advantage: Allowing technicians to address problems in advance, in the comfort of a testing situation, rather than in the heat of a production outage. 1. Terminology
  • 8. © 2008-2009 AQIS bvba 8 • Soak Tests ~ Endurance Testing : running a system at high levels of load for prolonged periods of time. • Ideal for finding memory leaks and other defects which make a system prone to crashing/breaking after a certain number of iterations 1. Terminology
  • 9. © 2008-2009 AQIS bvba 9 1. Terminology • Network Sensitivity Tests : are tests that set up scenarios of varying types of network activity (traffic, error rates...), and then measure the impact of that traffic on various applications that are bandwidth dependant. • eg. Chat applications, Streaming Media…
  • 10. © 2008-2009 AQIS bvba 10 1. Terminology • Targeted Infrastructure Test : are Isolated tests of each layer and or component in an end to end application configuration. It includes all components of the AUT infrastructure and beyond. • eg. includes communications infrastructure, Load Balancers, Web Servers, Application Servers, Crypto cards, Citrix Servers, Database… • Goal: identifying any performance issues that would fundamentally limit the overall ability of a system to deliver at a given performance level.
  • 11. © 2008-2009 AQIS bvba 11 1. Terminology Time Predicted point of failure Upgraded Capacity Existing Capacity Lead TimeTrigger Point Anticipated Peak Loads Work load Usable Reserve Capacity Point Response Time degradation becomes noticeable Current load ©copyright 2004-2005 by Wilson Mar. All rights reserved. Performance testing is the overall process, Stress Test Load Test Scalability
  • 12. © 2008-2009 AQIS bvba 12 2. Challenges
  • 13. © 2008-2009 AQIS bvba 13 2. Challenge 1 : Communication The requirements specification was defined like this The developers understood it in that way This is how the problem was solved before. This is how the problem is solved now That is the program after debugging This is how the program is described by marketing department This, in fact, is what the customer wanted … ;-)
  • 14. © 2008-2009 AQIS bvba 14 2. Challenge 2 : HW & SW
  • 15. © 2008-2009 AQIS bvba 15 2. Challenge 2 : HW & SW Security
  • 16. © 2008-2009 AQIS bvba 16 2. Challenge 3 : User Nature
  • 17. © 2008-2009 AQIS bvba 17 2. Challenge 3 : User Nature
  • 18. © 2008-2009 AQIS bvba 18 2. Challenge 3 : User Nature
  • 19. © 2008-2009 AQIS bvba 19 Response Times: The Three Important Limits [Miller 1968; Card et al. 1991]: •0.1 second limit for having the user feel that the system is reacting instantaneously •1.0 second limit for the user's flow of thought to stay uninterrupted, even though the user will notice the delay. •10 seconds limit for keeping the user's attention focused on the dialogue. For longer delays, users will want to perform other tasks while waiting for the computer to finish, so they should be given feedback indicating when the computer expects to be done. 2. Challenge 3 : User Nature
  • 20. © 2008-2009 AQIS bvba 20 • Computer scientists identify future IT challenges Goals for IT using the power of quantum physics, building systems that can't go wrong “Ambitious goals include harnessing the power of quantum physics, building systems that can't go wrong, and simulating living creatures in every detail.” By Peter Sayer, IDG News Service January 25, 2005 2. Challenge 4 : Future
  • 21. © 2008-2009 AQIS bvba 21 2. Challenge 5 : Resources • HW • Infrastructure • Access • People • Time • ....
  • 22. © 2008-2009 AQIS bvba 22 Agenda 1. What is load testing? 2. Methodology 3. Conclusion
  • 23. © 2008-2009 AQIS bvba 23 3. Methodology Analyze
  • 24. © 2008-2009 AQIS bvba 24 Documentation
  • 25. © 2008-2009 AQIS bvba 25 1. Determine system performance, response time, and throughput under a specific load 2. Testing the ability to handle load (and stress) to identify bottlenecks 3. Evaluating whether system resources are being utilised efficiently 4. Testing system robustness and capability to recover from errors 5. Testing across different configurations or versions 6. Testing systems for scalability 1. Goals
  • 26. © 2008-2009 AQIS bvba 26 Examine SUT • Architecture Overviews • Deployment Topology • 3rd party components and SLA’s • Firewall capacity • Load balancing • Connectivity • Network • Session management • All queues • Caching models • Security methods • Fail over mechanisms • Redundancy • Bandwidth • ……
  • 27. © 2008-2009 AQIS bvba 28 5 steps Analyze Plan/Define/Design scenario's
  • 28. © 2008-2009 AQIS bvba 29 Design and Model 1. Transactions and Workflows scenario's 2. User profiling and modeling 3. Workload scenario's 4. Test environment 5. Test data
  • 29. © 2008-2009 AQIS bvba 30 1. Transition matrix online shopping visit  Make Flow-charts of Functional Paths through the application-under-test.  Break this down in Logical modules = transactions
  • 30. © 2008-2009 AQIS bvba 31 2. User Profiling • User activities, transactions and usage patterns • Client platforms and preferences • Client Internet access speeds and browser types • User geographic locations
  • 31. © 2008-2009 AQIS bvba 32 3. Workflow Modeling • Size of customer base • Growth factor • Site arrival rates and site abandonment • Think times and latency • Background noise
  • 32. © 2008-2009 AQIS bvba 33 4. Test environment • Production replica –Expensive, usually not possible • Scaled down –Extrapolation factor • Actual production equipment –For new applications
  • 33. © 2008-2009 AQIS bvba 34 5. Test data • Data • Randomized • Database • Cookies, Session ID’s, Hidden ID’s, values • Certificates • Security settings • IP addresses identifications • User specifics identifications, PKI’s
  • 34. © 2008-2009 AQIS bvba 35 6 steps Analyze Plan/Define/Design scenario's Build/Record scenario’s
  • 35. © 2008-2009 AQIS bvba 36 Load Test scenario's • Program Perl, Java • Stubs • HW devices • FreeWare tools • Commercial Tools (capture & playback) •...
  • 36. © 2008-2009 AQIS bvba 37 How to reproduce correct web behavior? • Correct environment simulation – Correct protocol (Business level) – Speed – UI (Browser/MMS/..) – Security simulation/usage – Calculating the amount of virtual users and the arrival rate – ...
  • 37. © 2008-2009 AQIS bvba 38 5 steps Analyze Plan/Define/Design scenario's Build/Record scenario’s Baseline + Load Test
  • 38. © 2008-2009 AQIS bvba 39 What is a baseline? • Baseline with one user • Monitor the involved back-end systems • Can the load test achieve the goals • Test-runs
  • 39. © 2008-2009 AQIS bvba 40 Load Testing: How?
  • 40. © 2008-2009 AQIS bvba 41 Users Internet Firewall Load balancers Web Servers Application Servers DB ServersLAN
  • 41. © 2008-2009 AQIS bvba 42 Monitoring
  • 42. © 2008-2009 AQIS bvba 43 What to Measure  Maximum login requests (per min/per sec)  Average session length (at peak)  max. Concurrent sessions  Average pages per session  Average hits per page  Average request distribution  Average size of a page & specific size of a page  Arrival rates Tip: Session length(in min)= Max_concurrent_sessions/ Login_requests_per_min Metrics
  • 43. © 2008-2009 AQIS bvba 44 5 steps Analyze Plan/Define/Design scenario's Build/Record scenario’s Reporting Baseline + Load Test
  • 44. © 2008-2009 AQIS bvba 45 Analysing Results – Correlation of monitor and load test data – root cause analysis
  • 45. © 2008-2009 AQIS bvba 46 6 steps? Analyze Plan/Define/Design scenario's Build/Record scenario’s Baseline + Load Test Reporting Iteration-Monitor
  • 46. © 2008-2009 AQIS bvba 47 Tips • Be aware of constant changes • Constantly training • User behaviours • Increase of transactions (seasonal – permanent) • Use Common Sence
  • 47. © 2008-2009 AQIS bvba 48  Capacity planning for “Web performance”, Menascé  Building High-Scalability Server Farms, 1999 Microsoft Corporation  Detecting System Bottlenecks in Sites Using Site Server 3.0 Commerce Edition, 1999 Microsoft Corporation  Design for scalability, IBM High-Volume Web site team, December 1999 http://www7b.boulder.ibm.com/wsdd/library/techarticles/hvws/scalability.html  Performane Testing Guidance for Web applications, Scott Barber  ISO 9126, ISO/IEC 12207:2008, International Organization for Standardization Resources
  • 48. © 2008-2009 AQIS bvba 49 Questions & Thank you ! Mieke Gevers info@aqis.eu www.aqis.eu Agile Quality in Information Systems

Editor's Notes

  1. In the testing literature, the term "load testing" is usually defined as the process of exercising the system under test by feeding it the largest tasks it can operate with. Load testing is sometimes called volume testing, or longevity/endurance testing.
  2. Stress testing tries to break the system under test by overwhelming its resources or by taking resources away from it (in which case it is sometimes called negative testing). The main purpose behind this madness is to make sure that the system fails and recovers gracefully -- this quality is known as recoverability.
  3. Challenges on a human nature Outsoursing
  4. 3 mayor Challenges (there are more) on a HW/ Physical nature
  5. 3 mayor Challenges (there are more) on a HW/ Physical nature
  6. Challenges on Human Nature 0.1 second is about the limit for having the user feel that the system is reacting instantaneously, meaning that no special feedback is necessary except to display the result. 1.0 second is about the limit for the user's flow of thought to stay uninterrupted, even though the user will notice the delay. Normally, no special feedback is necessary during delays of more than 0.1 but less than 1.0 second, but the user does lose the feeling of operating directly on the data. 10 seconds is about the limit for keeping the user's attention focused on the dialogue. For longer delays, users will want to perform other tasks while waiting for the computer to finish, so they should be given feedback indicating when the computer expects to be done. Feedback during the delay is especially important if the response time is likely to be highly variable, since users will then not know what to expect.
  7. Challenges on Human Nature 0.1 second is about the limit for having the user feel that the system is reacting instantaneously, meaning that no special feedback is necessary except to display the result. 1.0 second is about the limit for the user's flow of thought to stay uninterrupted, even though the user will notice the delay. Normally, no special feedback is necessary during delays of more than 0.1 but less than 1.0 second, but the user does lose the feeling of operating directly on the data. 10 seconds is about the limit for keeping the user's attention focused on the dialogue. For longer delays, users will want to perform other tasks while waiting for the computer to finish, so they should be given feedback indicating when the computer expects to be done. Feedback during the delay is especially important if the response time is likely to be highly variable, since users will then not know what to expect.
  8. Challenges on Human Nature 0.1 second is about the limit for having the user feel that the system is reacting instantaneously, meaning that no special feedback is necessary except to display the result. 1.0 second is about the limit for the user's flow of thought to stay uninterrupted, even though the user will notice the delay. Normally, no special feedback is necessary during delays of more than 0.1 but less than 1.0 second, but the user does lose the feeling of operating directly on the data. 10 seconds is about the limit for keeping the user's attention focused on the dialogue. For longer delays, users will want to perform other tasks while waiting for the computer to finish, so they should be given feedback indicating when the computer expects to be done. Feedback during the delay is especially important if the response time is likely to be highly variable, since users will then not know what to expect.
  9. Challenges on Human Nature 0.1 second is about the limit for having the user feel that the system is reacting instantaneously, meaning that no special feedback is necessary except to display the result. 1.0 second is about the limit for the user's flow of thought to stay uninterrupted, even though the user will notice the delay. Normally, no special feedback is necessary during delays of more than 0.1 but less than 1.0 second, but the user does lose the feeling of operating directly on the data. 10 seconds is about the limit for keeping the user's attention focused on the dialogue. For longer delays, users will want to perform other tasks while waiting for the computer to finish, so they should be given feedback indicating when the computer expects to be done. Feedback during the delay is especially important if the response time is likely to be highly variable, since users will then not know what to expect.
  10. 3 mayor Challenges (there are more) on a HW/ Physical nature
  11. Analyze at a higher level
  12. Study and Analyze Plan and Define scenario's Design/Model scenario's Build/Record scenario’s into scripts Establish Baseline Evaluate, Tune and Report Deploy and Monitor
  13. Study and Analyze Plan and Define scenario's Design/Model scenario's Build/Record scenario’s into scripts Establish Baseline Evaluate, Tune and Report Deploy and Monitor
  14. This phase => tryout scripts and Load test to see if it the goals are achievable– fe. With a small set of VUsers/ Realistic environment simulation Modem speed Client IP simulation Web Browser simulation Wap, 3G Phone types HTTP features (redirection, authentication) Connections – Threads Calculating the amount of virtual users
  15. Study and Analyze Plan and Define scenario's Design/Model scenario's Build/Record scenario’s into scripts Establish Baseline Evaluate, Tune and Report Deploy and Monitor