SlideShare a Scribd company logo
How to stress test your application with Gatling ?




        Lausanne, September 13th 2012
Why a new tool ?
Gatling  - JUGL, 2012-09-13
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
Issue n°2:
Usability
Graphical Interface

                                               Listen, it's actually
                                               not complicated ...




            http://www.spacebio.uni-bonn.de/ahp/Parabel/Par_Images/240304-Cockpit_BIG.jpg
Issue n°3:
Maintenance
What was this change about ?
Listen to us,
                     Gatling can change
                     all that !




http://static.lexpress.fr/medias/15/mai-68_124.jpg, copyright by AFP
Say hello to my little friend ...
Be asynchronous,
embrace the actors model
Don't use blocking IO



> Netty
> Async-Http-Client
Scenario
 = Code
 = DSL




http://gringocentralsanramon.blogspot.ch/2012/02/getting-published-writing-seminar-wed.html
version 1.3.0

Expected by the end of September 2012



All 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() / .count()
● .is() / .in() / .not / .whatever

● .doIf() / .repeat() / .during() / .
  asLongAs()
● .tryMax() / .exitBlockOnFail()
● .randomSwitch() / .roundRobinSwitch()

● .feeder() : csv() / tsv() / jdbc()
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 contributed to the project

● 2000 downloads since the beginning
● 500 downloads of Gatling 1.2.5
http://gatling-tool.org
http://github.com/excilys/gatling
http://twitter.com/GatlingTool




http://github.com/nire
http://twitter.com/nremond

More Related Content

PDF
Mateusz Gruszczynski - Performance tests in Gatling (Quality Questions Confer...
PDF
Gatling - Bordeaux JUG
ODP
Gatling - Stress test tool
PDF
Load testing with gatling
PDF
はじめての Gatling
PDF
Blast your app with Gatling! by Stephane Landelle
PDF
Waterfall cafeで働くBot
PDF
Hands On, Duchess 10/17/2012
Mateusz Gruszczynski - Performance tests in Gatling (Quality Questions Confer...
Gatling - Bordeaux JUG
Gatling - Stress test tool
Load testing with gatling
はじめての Gatling
Blast your app with Gatling! by Stephane Landelle
Waterfall cafeで働くBot
Hands On, Duchess 10/17/2012

Similar to Gatling - JUGL, 2012-09-13 (20)

PPTX
Gatling Tool in Action at Devoxx 2012
PPTX
Gatling : Faites tomber la foudre sur votre serveur ! (Stéphane Landelle)
PDF
TestWorks Conf Performance testing made easy with gatling - Guillaume Corré
PDF
Load testing in Zonky with Gatling
PDF
What can be done with Java, but should better be done with Erlang (@pavlobaron)
PDF
API Performance testing with Gatling
PDF
Gatling - Paris Perf User Group
PDF
Gatling @ Scala.Io 2013
ODP
Gatling
ODP
Performance Test Automation With Gatling
PPTX
Java 7 Whats New(), Whats Next() from Oredev
PDF
Groovy Fly Through
ODP
erlang at hover.in , Devcamp Blr 09
PDF
Martin Odersky: What's next for Scala
KEY
The Why and How of Scala at Twitter
PDF
What`s new in Java 7
PDF
Common Pitfalls of Functional Programming and How to Avoid Them: A Mobile Gam...
KEY
Groovy Ecosystem - JFokus 2011 - Guillaume Laforge
PDF
At Scale With Style (Erlang User Conference 2012)
PDF
At Scale With Style
Gatling Tool in Action at Devoxx 2012
Gatling : Faites tomber la foudre sur votre serveur ! (Stéphane Landelle)
TestWorks Conf Performance testing made easy with gatling - Guillaume Corré
Load testing in Zonky with Gatling
What can be done with Java, but should better be done with Erlang (@pavlobaron)
API Performance testing with Gatling
Gatling - Paris Perf User Group
Gatling @ Scala.Io 2013
Gatling
Performance Test Automation With Gatling
Java 7 Whats New(), Whats Next() from Oredev
Groovy Fly Through
erlang at hover.in , Devcamp Blr 09
Martin Odersky: What's next for Scala
The Why and How of Scala at Twitter
What`s new in Java 7
Common Pitfalls of Functional Programming and How to Avoid Them: A Mobile Gam...
Groovy Ecosystem - JFokus 2011 - Guillaume Laforge
At Scale With Style (Erlang User Conference 2012)
At Scale With Style
Ad

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
Teaching material agriculture food technology
PPTX
Cloud computing and distributed systems.
PDF
Empathic Computing: Creating Shared Understanding
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The AUB Centre for AI in Media Proposal.docx
Unlocking AI with Model Context Protocol (MCP)
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Diabetes mellitus diagnosis method based random forest with bat algorithm
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
20250228 LYD VKU AI Blended-Learning.pptx
Machine learning based COVID-19 study performance prediction
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
Cloud computing and distributed systems.
Empathic Computing: Creating Shared Understanding
Network Security Unit 5.pdf for BCA BBA.
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation_ Review paper, used for researhc scholars
Per capita expenditure prediction using model stacking based on satellite ima...
Ad

Gatling - JUGL, 2012-09-13