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

Bring your website down with Gatling

Kunal Dabir
November 15, 2014

Bring your website down with Gatling

Presentation from Vodqa workshop, Pune 2014

Kunal Dabir

November 15, 2014
Tweet

More Decks by Kunal Dabir

Other Decks in Programming

Transcript

  1. To Test Production-Readiness Can we meet SLA? Are we meeting

    required throughput? like request/rec Will app sustain the normal & peak loads 4 / 22
  2. Client Side Performance DOM rendering time Network issues / latency

    JavaScript execution time CSS/JS compression/optimiaztion Image optimization 10 / 22
  3. Command Line Utilities Shell script with curl/wget fighting a battle

    with needle Apache bench good for very simple use cases Seige bit more sophisticated than AB but not full blown 14 / 22
  4. More Programmable Solutions Locust python JMeter java but more gui

    centric Gatling JVM with scala DSL 15 / 22
  5. User Journeys Tool should be able to emulate real users

    with realistic load Example: 1. I login, 2. I browse for an item 3. I add it to my cart 4. I proceed to checkout 5. I pay 6. I logout 16 / 22
  6. Scenarios User regestration will happens less frequently than order checkout

    Should test accordingly With desired load pattern 17 / 22
  7. Metrices Requests request/sec distribution of urls Response time 90%ile, 95%ile

    avg/mean min/max Result failed vs passed vs timed out status codes Users active sessions 19 / 22