Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Load testing

45617fd77f12f016894c0931771b2a98?s=47 mbie
January 28, 2016

Load testing

45617fd77f12f016894c0931771b2a98?s=128

mbie

January 28, 2016
Tweet

Transcript

  1. Load testing Ruby Talks #9 28.01.2016 Mateusz Bielec

  2. Agenda 2 ▪ What? ▪ Why? ▪ Where? ▪ How?

  3. Welcome to PGS LOAD TESTING - WHAT IS IT? 3

  4. Welcome to PGS PERFORMANCE BENCHMARKING How is my app performing

    and how does that compare with the past? 4
  5. Welcome to PGS LOAD TESTING How does my app’s behavior

    change with a lot of users? 5
  6. Welcome to PGS STRESS TESTING What happens when my app

    gets swamped? 6
  7. Welcome to PGS LOAD TESTING - WHY? 7

  8. Welcome to PGS ▪ Improve site speed and server performance

    ▪ Knowing the limits and bottlenecks WHY? 8
  9. Welcome to PGS LOAD TESTING - WHERE? 9

  10. Welcome to PGS 10 Source: https://memegenerator.net/instance/22605665

  11. Welcome to PGS 11 Source: https://memegenerator.net/instance/63826237

  12. Welcome to PGS LOAD TESTING - HOW? 12

  13. Welcome to PGS APACHE BENCH https://httpd.apache.org/docs/2.2/programs/ab.html 13

  14. ab -n 10 -c 3 http://www.pgs-soft.com/

  15. POST request

  16. Cookie

  17. Welcome to PGS API BOMB https://github.com/vasilakisfil/api_bomb 17

  18. Welcome to PGS ▪ Written in Ruby ▪ Multiple configuration

    options ▪ Dynamic parameters ▪ Still in development API BOMB 18
  19. Global settings

  20. Single and multiple request

  21. Output

  22. Dynamic endpoints

  23. Dynamic probability

  24. Welcome to PGS ▪ Load testing is required to check

    performance and find bottlenecks ▪ ApacheBench is simple and powerful ▪ ApiBomb for Rubyists ;) Summary 24
  25. QUESTIONS?

  26. PGS Software S.A. Tel.: +48 71 79 82 692
 Fax:

    +48 71 79 82 690
 E-mail: pgs-soft@pgs-soft.com www.pgs-soft.com