How to stress test your application with Gatling ?        Lausanne, September 13th 2012
Why a new tool ?
Issue n°1:High performance   http://www.shopfbparts.com/catalog/nal-19201331_w.jpg
1 user = 1 thread
With 50 threads on a JVM   http://www.ausmotive.com/F1/2010/British-GP-05.jpg
With 2000 threads on a JVM
Blocking IO
Thats what your threads will do most ofthe time, waiting ...               http://www.flickr.com/photos/carlotancredi/3447...
... and sleepinghttp://www.flickr.com/photos/maciejdakowicz/4770794503
Issue n°2:Usability
Graphical Interface                                               Listen, its actually                                    ...
Issue n°3:Maintenance
What was this change about ?
Listen to us,                     Gatling can change                     all that !http://static.lexpress.fr/medias/15/mai...
Say hello to my little friend ...
Be asynchronous,embrace the actors model
Dont use blocking IO> Netty> Async-Http-Client
Scenario = Code = DSLhttp://gringocentralsanramon.blogspot.ch/2012/02/getting-published-writing-seminar-wed.html
version 1.3.0Expected by the end of September 2012All examples will be based on this version
Easy
Démo !http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
Feeling lazy? Try the recorder.
Démo !http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
Powerful : write your own Scala code
But, many used case covered out-of-the-box by the DSL● .regex() / .css() / .xpath() / jsonPath()● .find() / .findAll() / ....
Polling
Markov chains(Cycles are not supported so far...)
See also : .roundRobinSwitch()
Démo !http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
Coming soon :> Live reporting in Graphite> Jenkins reports> Clustering
Fact sheet●   First commit in june 2011●   Created by S. Landelle and R. Sertelon●   About 20k LOCs●   19 persons have con...
http://gatling-tool.orghttp://github.com/excilys/gatlinghttp://twitter.com/GatlingToolhttp://github.com/nirehttp://twitter...
Gatling  - JUGL, 2012-09-13
Upcoming SlideShare
Loading in …5
×

Gatling - JUGL, 2012-09-13

1,090 views

Published on

Published in: Technology, Design
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,090
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
23
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Gatling - JUGL, 2012-09-13

  1. 1. How to stress test your application with Gatling ? Lausanne, September 13th 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. Issue n°2:Usability
  11. 11. Graphical Interface Listen, its actually not complicated ... http://www.spacebio.uni-bonn.de/ahp/Parabel/Par_Images/240304-Cockpit_BIG.jpg
  12. 12. Issue n°3:Maintenance
  13. 13. What was this change about ?
  14. 14. Listen to us, Gatling can change all that !http://static.lexpress.fr/medias/15/mai-68_124.jpg, copyright by AFP
  15. 15. Say hello to my little friend ...
  16. 16. Be asynchronous,embrace the actors model
  17. 17. Dont use blocking IO> Netty> Async-Http-Client
  18. 18. Scenario = Code = DSLhttp://gringocentralsanramon.blogspot.ch/2012/02/getting-published-writing-seminar-wed.html
  19. 19. version 1.3.0Expected by the end of September 2012All examples will be based on this version
  20. 20. Easy
  21. 21. Démo !http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
  22. 22. Feeling lazy? Try the recorder.
  23. 23. Démo !http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
  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. Polling
  27. 27. Markov chains(Cycles are not supported so far...)
  28. 28. See also : .roundRobinSwitch()
  29. 29. Démo !http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
  30. 30. Coming soon :> Live reporting in Graphite> Jenkins reports> Clustering
  31. 31. Fact sheet● First commit in june 2011● Created by S. Landelle and R. Sertelon● About 20k LOCs● 19 persons have contributed to the project● 2000 downloads since the beginning● 500 downloads of Gatling 1.2.5
  32. 32. http://gatling-tool.orghttp://github.com/excilys/gatlinghttp://twitter.com/GatlingToolhttp://github.com/nirehttp://twitter.com/nremond

×