Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Load testing for Dummies - LDNA 11-2018

Limerick DotNet-Azure User Group (LDNA) 18 November 2018 Meetup (
Load testing for Dummies

About load and stress testing, in the context of web applications and services. An introduction to the tools and techniques to generate load and analyze behavior.
- Purpose of testing
- Emerging Problems
- Basic model
- Tools: JMeter, Visual Studio, Gatling
- Test rigs: custom, Azure CLT, BlazeMeter

  • Be the first to comment

Load testing for Dummies - LDNA 11-2018

  1. 1. Load Testing for Dummies Mihał Luskaz 16 November 2018 & Giulio Vian
  2. 2. Volunteers?
  3. 3. Agenda Purpose of testing Basic model Emerging Problems Tools: JMeter, Visual Studio, Gatling Test rigs: custom, Azure CLT, BlazeMeter
  4. 4. Purpose of load testing
  5. 5. Technical Goals Benchmarking Force defects to emerge code, configuration, architecture Capacity planning Breaking point Sensitive data leakage
  6. 6. Business Goals Guarantee performances Forecast growth Budget expansion
  7. 7. Bottom line impact Google Half a second delay caused a 20% drop in traffic. Even very small delays (100 ms) would result in substantial and costly drops in revenue.
  8. 8. Basic model
  9. 9. Queueing and Resource depletion Client SUT Dep1 Dep2Client
  10. 10. Healthy behaviour +Error rates +Tools errors Relative Load Latency Required threshold Max N seconds 100%60% Throughput Usage
  11. 11. Emerging Problems
  12. 12. Emerging Problems Connection pool exhaustion File locks Database locks (Thread) deadlocks Memory exhaustion
  13. 13. Consequences Domino Effect Lack of scalability
  14. 14. How you read this? Relative Load Latency Required threshold Max N seconds 100%60% Throughput Usage
  15. 15. Tools
  16. 16. Script & Runners JMeter Visual Studio (.webtest / .loadtest) Gatling Selenium ×Unit family *custom & many more… Traits Recording Scripting language Extensible Local runner
  17. 17. JMeter Recording Handling sessions and data
  18. 18. Test rigs
  19. 19. Load generators Azure Cloud load testing CA BlazeMeter SOASTA (Akamai) CloudTest HPE LoadRunner *custom & more… Traits Scalable Emulate clients (user agent) Load progression Automatic data collection Pluggable runners
  20. 20. Gatling Load patterns Monitoring
  21. 21. Wrap-up 21
  22. 22. Costs Writing and maintaining scripts Wait Time Load-generating resources
  23. 23. (Photo: Elya) Resources Sisyphus Choosing to invest 23
  24. 24. Bibliografy & References based-load-test AWS Well-Architected Framework - Performance Efficiency Pillar Performance Testing Guidance for Web Applications 24
  25. 25. Bibliografy (2) Writing High-Performance .NET Code — Ben Watson (Ben Watson) Performance-NET-Code- Watson/dp/0990583430/ Time Is Money: The Business Value of Web Performance — Tammy Everts (O'Reilly Media) Business-Value-Performance/dp/1491928743 25
  26. 26. Bibliografy (3) Software Performance and Scalability: A Quantitative Approach — Henry H. Liu (Wiley) Performance-Scalability-Quantitative- Approach/dp/0470462531 Continuous Delivery with Windows and .NET — Matthew Skelton and Chris O'Dell (O'Reilly) perf/free/continuous-delivery-with-windows-and- net.csp 26
  27. 27. Bibliografy (4) Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation — J.Humble, D.Farley (Addison-Wesley) Delivery/dp/0321601912/ The DevOps Handbook — G.Kim, P.Debois, J.Willis, J.Humble (IT Revolution Press) World-Class-Reliability- Organizations/dp/1942788002/ 27
  28. 28. Thanks to our sponsors!