Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Gatling - GenevaJUG, 2012-11-27.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Nicolas Rémond
November 28, 2012
98
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Gatling - GenevaJUG, 2012-11-27.pdf
Nicolas Rémond
November 28, 2012
Featured
See All Featured
Scaling GitHub
holman
464
140k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Done Done
chrislema
187
17k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
GraphQLとの向き合い方2022年版
quramy
50
15k
How to Talk to Developers About Accessibility
jct
2
580
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Claude Code のすすめ
schroneko
67
230k
Transcript
How to stress test your application with Gatling ? Geneva,
November 27th 2012
First commit in june 2011 by S. Landelle and R.
Sertelon About 20k LOCs by 19 contributors Commiter since Spring 2012
Why a new stress tool ?
None
None
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
That's what your threads will do most of the time,
waiting ... http://www.flickr.com/photos/carlotancredi/3447589391
... and sleeping http://www.flickr.com/photos/maciejdakowicz/4770794503
Does it actually matter ?
None
Yes !
None
Issue n°2: Usability
Graphical Interface http://www.spacebio.uni-bonn.de/ahp/Parabel/Par_Images/240304-Cockpit_BIG.jpg Listen, it's actually not complicated ...
Issue n°3: Maintenance
What was this change about ?
Gatling can change all that ! http://static.lexpress.fr/medias/15/mai-68_124.jpg, copyright by AFP
Say hello to my little friend ... Version 1.3.5 (Released
November 23rd 2012)
> Actor model (Akka) > Async IO (Async-Http-Client + Netty)
Be asynchronous !
Scenario = Code = DSL http://gringocentralsanramon.blogspot.ch/2012/02/getting-published-writing-seminar-wed.html
Easy
Démo ! http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
Use the rich DSL ... • .regex() / .css() /
.xpath() / jsonPath() • .find() / .findAll() / .count() • .is() / .in() / .not / .whatever • .doIf() / .repeat() / .during() / . asLongAs() • .randomSwitch() / .roundRobinSwitch() • .tryMax() / .exitBlockOnFail() • .feeder() : csv() / tsv() / jdbc()
... or write your own Scala code
... or try the recorder.
Démo ! http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
Markov chains (Cycles are not supported so far...)
See also : .roundRobinSwitch()
Polling
Démo ! http://frizzlesworld.files.wordpress.com/2011/02/computer-cat.jpg
Integrations : > Maven Plugin > Maven archetype (run in
IDE) > Graphite live reporting
Coming soon : > Jenkins plugin > Requests grouping >
Websockets > Clustering > ...
@nremond @nremond http://github.com/excilys/gatling @GatlingTool http://www.gatling-tool.org