SlideShare a Scribd company logo
© AgiliX Agile Development Consulting
Agile Performance Testing
Cesario Ramos
Independent Consultant
AgiliX Agile Development Consulting
© AgiliX Agile Development Consulting
Overview
• Why Agile performance testing?
• Nature of performance testing
• Agile performance testing
© AgiliX Agile Development Consulting
Why Agile Performance Testing?
© AgiliX Agile Development Consulting
We experience
Primary problems after project release are
NOT system crashes or incorrect system
responses
Primary problems are
1. Responsiveness degradation
2. Inability to handle required throughput
Source: Weyuker E.
© AgiliX Agile Development Consulting
Webshop for phones
• Worked good during testing
• In production system failed after 15
minutes
– Authentication server load was not
taken into account 
© AgiliX Agile Development Consulting
We know
© AgiliX Agile Development Consulting
Delay
Hand-offs
Task Switching
Defects
Inventory
Relearning
We see
© AgiliX Agile Development Consulting
We use
© AgiliX Agile Development Consulting
We expect?
• To decrease overall lead-time
– Throughput accounting v.s. Cost
accounting
• To have less problems in production
• Decrease risk, increase reliability
• To achieve overall better quality
• Usability, Stability, Performance
© AgiliX Agile Development Consulting
Still we see mostly
Pre-production validation only!
© AgiliX Agile Development Consulting
WHY?
© AgiliX Agile Development Consulting
WHY?
• Performance test team is expensive, overworked
– We can only test the complete system
– Performance testing against a moving target
– What happens to my baselines during sprints?
– “First make it work, then make it fast”
• Deployment team is expensive, overworked
– Deploying to test environment is very difficult and time
consuming
– The fewer deployments the better
© AgiliX Agile Development Consulting
WHY?
• “premature optimization is waste!”
• Separate teams
– Developers, Testers, Deployers, Analysts
• Costs are high for frequent deployment
• Production like environments are expensive
• We need specialists for performance
• …
© AgiliX Agile Development Consulting
What could we do?
© AgiliX Agile Development Consulting
© AgiliX Agile Development Consulting
© AgiliX Agile Development Consulting
Performance tests executed throughout the project
© AgiliX Agile Development Consulting
Performance activities, refined and executed in
collaboration.
© AgiliX Agile Development Consulting
What’s in it for you?
• Project manager
– Improved quality.
– Decreased risk.
• Developer
– Will have effective discussions with
requirement engineers and performance
testers.
• Tester
– Not waste any time on trivial problems.
– Help the team earlier and more efficiently.
© AgiliX Agile Development Consulting
Nature of performance testing
© AgiliX Agile Development Consulting
Grey box testing
• You must understand how it works in
order to write relevant test scripts.
• You must understand the architecture.
© AgiliX Agile Development Consulting
Beware of
Integration points
Chain reactions
Blocked threads
Unbalanced capacities
No more simple record playback
Source: Nygard M.
© AgiliX Agile Development Consulting
Build stub components
• Simulate SLA's
• Test against the stubs
• Create failure modes
– Slow network responses
– Huge data responses
© AgiliX Agile Development Consulting
Correlation problem
Per server
– Thread pools
– Connection
pools
– Request
Response times
– CPU usage
– Memory usage
– JVM behavior
– Code hotspots
© AgiliX Agile Development Consulting
Tuning
Who dominates the CPU?
– Operating system? (OS system load on CPU)
– JVM? (object lifecycle, garbage collection)
– Application? (algorithms)
– None (blocked threads most of the time)
There’s always one most prominent performance
problem
All performance problems express themselves in
the hardware
Source: Kirk Pepperdine
© AgiliX Agile Development Consulting
Agile performance testing
© AgiliX Agile Development Consulting
• Feature driven planning is needed
– Build a release plan where you
performance test every few sprints,
when couple of related features are
done!
• Need for establishing Baselines
– Deployed and production
– Useful when architecture stabilizes
© AgiliX Agile Development Consulting
• Invest in automatic
– Deployment
– Smoke tests
– Integration testing
© AgiliX Agile Development Consulting
Exploratory performance testing
• Local performance tests
– Memory leaks
– Memory usage patterns
– Threading issues
• Code Reviews
• Checks on use of boundedness, use of
timeouts
• Use of caching, cache configuration
• Best practices on algorithms, synchronization,
designs, value objects, functional
programming, modularization, …
© AgiliX Agile Development Consulting
• Deployed performance tests
– Workload issues
• #clients, request frequency, arrival rate, duration
– Configuration
• Thread pool sizes, Connection pool sizes, Cache
sizes, JVM configuration, queue sizes, …
– Application
• Replication, remote methods calls, database
interactions, asynchronous messages, security
service, …
© AgiliX Agile Development Consulting
When a performance problems is
found
1. write a failing test for it
2. make it work local
3. make it work on the deployed
environments
© AgiliX Agile Development Consulting
Summarizing
Performance testing is agile and iterative by nature!
Grey box testing
Avoid re-runs
Automatic deployment
Need to correlate various measurement results
Establish baselines
© AgiliX Agile Development Consulting
Agile Performance Testing
Cesario Ramos
Independent Consultant
AgiliX Agile DevelopmentConsulting
www.agilix.nl
www.codecentric.nl
cesario@agilix.nl

More Related Content

PPTX
DOES SFO 2016 - Ray Krueger - Speed as a Prime Directive
PPTX
Agile ncr2016 ppt
PPTX
Moving QA from Reactive to Proactive with qTest
PPTX
Fundamentals of Agile
PPT
Fundamentals of agile tntu (2015-04-27)
PPTX
The agile elephant in the room
PPTX
Lean Canvas for Internal Product Owners
PPTX
Fail Fast and Win with Continuous Testing: Uri Scheiner – Jenkins World
DOES SFO 2016 - Ray Krueger - Speed as a Prime Directive
Agile ncr2016 ppt
Moving QA from Reactive to Proactive with qTest
Fundamentals of Agile
Fundamentals of agile tntu (2015-04-27)
The agile elephant in the room
Lean Canvas for Internal Product Owners
Fail Fast and Win with Continuous Testing: Uri Scheiner – Jenkins World

What's hot (20)

PDF
Extending JIRA to Enable High Volume KPI Benchmarking - Keyur Patel
PDF
Agile engineering practices
PDF
The Requirements Day - User Survey - Nigel Bechwith_ Speedsoft
PDF
Solid Testing & Assurance A5 Flyer
PPTX
A Blueprint for a Successful DevOps Metamorphosis
PPTX
QTest - Test management Tool
PPTX
2015 DevOps Breakfast - DevOps in Action
PDF
Edit Privacy Settings Analytics FREE Collect Leads Micro Focus DevOps Drive-i...
PPTX
Micro Focus DevOps Drive-in with Gary Gruver - Starting and Scaling DevOps in...
PPTX
Pricing Pitfalls...and How to Counter Them
PPTX
DOES16 San Francisco - David Blank-Edelman - Lessons Learned from a Parallel ...
PPTX
Code Yellow: Helping Operations Top-Heavy Teams the Smart Way
PDF
Continuous Integration Is for Everyone—Especially DevOps
PDF
Continuous Delivery in a Legacy Shop—One Step at a Time
PDF
W4 0245 agility_v1
PDF
The new fundamentals of agile at scale
PPTX
Why Does (My) Monitoring Suck?
PDF
Advance ALM and DevOps Practices with Continuous Improvement
PPTX
What is Agile Methodology?
PDF
Why Your Next QA Job Might Be in Ops
Extending JIRA to Enable High Volume KPI Benchmarking - Keyur Patel
Agile engineering practices
The Requirements Day - User Survey - Nigel Bechwith_ Speedsoft
Solid Testing & Assurance A5 Flyer
A Blueprint for a Successful DevOps Metamorphosis
QTest - Test management Tool
2015 DevOps Breakfast - DevOps in Action
Edit Privacy Settings Analytics FREE Collect Leads Micro Focus DevOps Drive-i...
Micro Focus DevOps Drive-in with Gary Gruver - Starting and Scaling DevOps in...
Pricing Pitfalls...and How to Counter Them
DOES16 San Francisco - David Blank-Edelman - Lessons Learned from a Parallel ...
Code Yellow: Helping Operations Top-Heavy Teams the Smart Way
Continuous Integration Is for Everyone—Especially DevOps
Continuous Delivery in a Legacy Shop—One Step at a Time
W4 0245 agility_v1
The new fundamentals of agile at scale
Why Does (My) Monitoring Suck?
Advance ALM and DevOps Practices with Continuous Improvement
What is Agile Methodology?
Why Your Next QA Job Might Be in Ops
Ad

Similar to Agile performance testing (20)

PDF
Comprehensive Performance Testing: From Early Dev to Live Production
PPTX
Incorporating Performance Testing in Agile Development Process
PDF
Performance Testing in Agile Process
PDF
Agile testing practice
PPTX
Performance engineering10042915
PDF
Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...
PDF
Performance Testing in the Agile Lifecycle
PPTX
Load and Performance tests in agile scrum framework SGI 2013
PPTX
Performance testing in agile
PDF
Performance Testing in the Agile Lifecycle
PDF
Agile testing quadrants discussion
PDF
ConFoo: Moving web performance testing to the left
PDF
Agile testing overview
PDF
Agile testingoverview
PPTX
Introduction to Agile Testing
PDF
Performance Testing in Agile and DevOps Environments
PDF
Testing in Agile Development
DOCX
Addressing Performance Testing Challenges in Agile: Process and Tools: Impetu...
PPT
UNIT IV.ppt
PPTX
StarWest 2013 Performance is not an afterthought – make it a part of your Agi...
Comprehensive Performance Testing: From Early Dev to Live Production
Incorporating Performance Testing in Agile Development Process
Performance Testing in Agile Process
Agile testing practice
Performance engineering10042915
Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...
Performance Testing in the Agile Lifecycle
Load and Performance tests in agile scrum framework SGI 2013
Performance testing in agile
Performance Testing in the Agile Lifecycle
Agile testing quadrants discussion
ConFoo: Moving web performance testing to the left
Agile testing overview
Agile testingoverview
Introduction to Agile Testing
Performance Testing in Agile and DevOps Environments
Testing in Agile Development
Addressing Performance Testing Challenges in Agile: Process and Tools: Impetu...
UNIT IV.ppt
StarWest 2013 Performance is not an afterthought – make it a part of your Agi...
Ad

Recently uploaded (20)

PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
KodekX | Application Modernization Development
PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
Teaching material agriculture food technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Unlocking AI with Model Context Protocol (MCP)
Reach Out and Touch Someone: Haptics and Empathic Computing
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
KodekX | Application Modernization Development
Programs and apps: productivity, graphics, security and other tools
Teaching material agriculture food technology
Review of recent advances in non-invasive hemoglobin estimation
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation_ Review paper, used for researhc scholars
MYSQL Presentation for SQL database connectivity
Understanding_Digital_Forensics_Presentation.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Electronic commerce courselecture one. Pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Agile performance testing

  • 1. © AgiliX Agile Development Consulting Agile Performance Testing Cesario Ramos Independent Consultant AgiliX Agile Development Consulting
  • 2. © AgiliX Agile Development Consulting Overview • Why Agile performance testing? • Nature of performance testing • Agile performance testing
  • 3. © AgiliX Agile Development Consulting Why Agile Performance Testing?
  • 4. © AgiliX Agile Development Consulting We experience Primary problems after project release are NOT system crashes or incorrect system responses Primary problems are 1. Responsiveness degradation 2. Inability to handle required throughput Source: Weyuker E.
  • 5. © AgiliX Agile Development Consulting Webshop for phones • Worked good during testing • In production system failed after 15 minutes – Authentication server load was not taken into account 
  • 6. © AgiliX Agile Development Consulting We know
  • 7. © AgiliX Agile Development Consulting Delay Hand-offs Task Switching Defects Inventory Relearning We see
  • 8. © AgiliX Agile Development Consulting We use
  • 9. © AgiliX Agile Development Consulting We expect? • To decrease overall lead-time – Throughput accounting v.s. Cost accounting • To have less problems in production • Decrease risk, increase reliability • To achieve overall better quality • Usability, Stability, Performance
  • 10. © AgiliX Agile Development Consulting Still we see mostly Pre-production validation only!
  • 11. © AgiliX Agile Development Consulting WHY?
  • 12. © AgiliX Agile Development Consulting WHY? • Performance test team is expensive, overworked – We can only test the complete system – Performance testing against a moving target – What happens to my baselines during sprints? – “First make it work, then make it fast” • Deployment team is expensive, overworked – Deploying to test environment is very difficult and time consuming – The fewer deployments the better
  • 13. © AgiliX Agile Development Consulting WHY? • “premature optimization is waste!” • Separate teams – Developers, Testers, Deployers, Analysts • Costs are high for frequent deployment • Production like environments are expensive • We need specialists for performance • …
  • 14. © AgiliX Agile Development Consulting What could we do?
  • 15. © AgiliX Agile Development Consulting
  • 16. © AgiliX Agile Development Consulting
  • 17. © AgiliX Agile Development Consulting Performance tests executed throughout the project
  • 18. © AgiliX Agile Development Consulting Performance activities, refined and executed in collaboration.
  • 19. © AgiliX Agile Development Consulting What’s in it for you? • Project manager – Improved quality. – Decreased risk. • Developer – Will have effective discussions with requirement engineers and performance testers. • Tester – Not waste any time on trivial problems. – Help the team earlier and more efficiently.
  • 20. © AgiliX Agile Development Consulting Nature of performance testing
  • 21. © AgiliX Agile Development Consulting Grey box testing • You must understand how it works in order to write relevant test scripts. • You must understand the architecture.
  • 22. © AgiliX Agile Development Consulting Beware of Integration points Chain reactions Blocked threads Unbalanced capacities No more simple record playback Source: Nygard M.
  • 23. © AgiliX Agile Development Consulting Build stub components • Simulate SLA's • Test against the stubs • Create failure modes – Slow network responses – Huge data responses
  • 24. © AgiliX Agile Development Consulting Correlation problem Per server – Thread pools – Connection pools – Request Response times – CPU usage – Memory usage – JVM behavior – Code hotspots
  • 25. © AgiliX Agile Development Consulting Tuning Who dominates the CPU? – Operating system? (OS system load on CPU) – JVM? (object lifecycle, garbage collection) – Application? (algorithms) – None (blocked threads most of the time) There’s always one most prominent performance problem All performance problems express themselves in the hardware Source: Kirk Pepperdine
  • 26. © AgiliX Agile Development Consulting Agile performance testing
  • 27. © AgiliX Agile Development Consulting • Feature driven planning is needed – Build a release plan where you performance test every few sprints, when couple of related features are done! • Need for establishing Baselines – Deployed and production – Useful when architecture stabilizes
  • 28. © AgiliX Agile Development Consulting • Invest in automatic – Deployment – Smoke tests – Integration testing
  • 29. © AgiliX Agile Development Consulting Exploratory performance testing • Local performance tests – Memory leaks – Memory usage patterns – Threading issues • Code Reviews • Checks on use of boundedness, use of timeouts • Use of caching, cache configuration • Best practices on algorithms, synchronization, designs, value objects, functional programming, modularization, …
  • 30. © AgiliX Agile Development Consulting • Deployed performance tests – Workload issues • #clients, request frequency, arrival rate, duration – Configuration • Thread pool sizes, Connection pool sizes, Cache sizes, JVM configuration, queue sizes, … – Application • Replication, remote methods calls, database interactions, asynchronous messages, security service, …
  • 31. © AgiliX Agile Development Consulting When a performance problems is found 1. write a failing test for it 2. make it work local 3. make it work on the deployed environments
  • 32. © AgiliX Agile Development Consulting Summarizing Performance testing is agile and iterative by nature! Grey box testing Avoid re-runs Automatic deployment Need to correlate various measurement results Establish baselines
  • 33. © AgiliX Agile Development Consulting Agile Performance Testing Cesario Ramos Independent Consultant AgiliX Agile DevelopmentConsulting www.agilix.nl www.codecentric.nl cesario@agilix.nl