Hands On, Duchess 10/17/2012

1,384 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,384
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
27
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Hands On, Duchess 10/17/2012

  1. 1. How to stress test your application with Gatling ? Paris, October 17th 2012
  2. 2. Why a new tool ?
  3. 3. Issue n°1:High performance http://www.shopfbparts.com/catalog/nal-19201331_w.jpg
  4. 4. 1 user = 1 thread
  5. 5. With 50 threads on a JVM http://www.ausmotive.com/F1/2010/British-GP-05.jpg
  6. 6. With 2000 threads on a JVM
  7. 7. Blocking IO
  8. 8. Thats what your threads will do most ofthe time, waiting ... http://www.flickr.com/photos/carlotancredi/3447589391
  9. 9. ... and sleepinghttp://www.flickr.com/photos/maciejdakowicz/4770794503
  10. 10. Is that a real problem?
  11. 11. Can you trust your results? JMeter 2.8 perf test, expecting 300 tr/sec http://wiki.apache.org/jmeter/JMeterPerformance?action=AttachFile&do=get&target=Transactions-2.8.png
  12. 12. Issue n°2:Usability
  13. 13. Graphical Interface Listen, its actually not complicated ... http://www.spacebio.uni-bonn.de/ahp/Parabel/Par_Images/240304-Cockpit_BIG.jpg
  14. 14. Issue n°3:Maintenance
  15. 15. What was this change about ?
  16. 16. Listen to us, 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 ...
  18. 18. version 1.3.3Released mid-October 2012
  19. 19. Be asynchronous,embrace the actors model
  20. 20. Dont use blocking IO> Netty> Async-Http-Client
  21. 21. Scenario = Code = DSL http://gringocentralsanramon.blogspot.ch/2012/02/getting-published-writing-seminar-wed.html
  22. 22. Easy
  23. 23. Feeling lazy? Try the recorder.
  24. 24. Powerful : write your own Scala code
  25. 25. But, many used case covered out-of-the-box by the DSL● .regex() / .css() / .xpath() / jsonPath()● .find() / .findAll() / .count()● .is() / .in() / .not / .whatever● .doIf() / .repeat() / .during() / . asLongAs()● .tryMax() / .exitBlockOnFail()● .randomSwitch() / .roundRobinSwitch()● .feeder() : csv() / tsv() / jdbc()
  26. 26. Integrations :> Maven plugin> Maven archetype / run in the IDE> Graphite live reporting
  27. 27. Coming soon :> Jenkins plugin> Requests grouping> Clustering
  28. 28. Fact sheet● First commit in june 2011● Created by S. Landelle and R. Sertelon● About 20k LOCs● 21 persons have contributed to the project● 2500 downloads since the beginning● 650 downloads of Gatling 1.2.5
  29. 29. Really efficient? JMeter perf test run with Gatling, expecting 300 tr/sec
  30. 30. http://gatling-tool.orghttp://github.com/excilys/gatlinghttp://twitter.com/GatlingToolhttp://github.com/slandellehttp://twitter.com/slandelle

×