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.

Gatling Tool in Action at Devoxx 2012

3,509 views

Published on

Gatling Tool in Action at Devoxx 2012

  1. 1. Blast your web app with GatlingStéphane Landelle Romain Sertelon CTO Java ConsultanteBusiness Information eBusiness Information @slandelle @BluePyth
  2. 2. Yet Another Stress ToolJMeter, Grinder, Tsung, LoadUI, LoadRunner, Neoload…
  3. 3. Issue #1High Performance http://www.shopfbparts.com/catalog/nal-19201331_w.jpg
  4. 4. 1 user = 1 thread
  5. 5. With 50 threads on a JVM
  6. 6. With 2000 threads on a JVM
  7. 7. Blocking I/O
  8. 8. Threads? Waiting…
  9. 9. … and sleeping
  10. 10. Is that a real problem?
  11. 11. Can you trust your results? JMeter 2.8 perf test, expecting 300 tr/sec
  12. 12. Issue #2Usability
  13. 13. Graphical User Interface Listen, its not that complicated...
  14. 14. Issue #3Maintainability
  15. 15. What was this change about?
  16. 16. Gatling can change all that!http://static.lexpress.fr/medias/15/mai-68_124.jpg, copyright by AFP
  17. 17. Say hello to my little friend… Version 1.3.4 Released October 2012
  18. 18. Be asynchronous, embrace the actor model
  19. 19. Use non-blocking I/O• Async HTTP Client• Netty
  20. 20. Scenario = Code (Scala) = DSL http://gringocentralsanramon.blogspot.ch/2012/02/getting-published-writing-seminar-wed.html
  21. 21. Easy
  22. 22. Use the rich DSL…Checks • regex / css / xpath / jsonPath • find / findAll / count • is / in / not / whateverStructures • doIf / repeat / during / asLongAs • randomSwitch / roundRobinSwitchError handling • tryMax / exitBlockOnFailFeeders • csv / tsv / jdbc
  23. 23. … or write your own Scala code…
  24. 24. …or use the Recorder
  25. 25. Integrations• Maven Plugin• Maven archetype (run in IDE)• Graphite live reporting
  26. 26. Coming soon…• Jenkins Plugin• Requests Grouping• Websockets, JDBC…• Clustering
  27. 27. Demo
  28. 28. Really efficient? Jmeter perf test run withGatling, expecting 300 tr/sec
  29. 29. http://gatling-tool.orghttps://github.com/excilys/gatling@GatlingToolhttps://github.com/slandelle@slandellehttps://github.com/BluePyth@BluePyth
  30. 30. Q&A

×