Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Meetup DevOps Carioca - Load Testing with Locust
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Stefan Teixeira
May 20, 2016
Programming
76
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Meetup DevOps Carioca - Load Testing with Locust
Stefan Teixeira
May 20, 2016
More Decks by Stefan Teixeira
See All by Stefan Teixeira
Scrum Gathering Portugal 2016 - Containerizing Tests with Docker
stefanteixeira
0
88
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
120
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
73
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
63
6º Encontro do Grupo de Testes Carioca - Testes em um contexto de Continuous Delivery
stefanteixeira
0
51
TDC 2016 SP - Desmistificando cobertura de código como métrica de qualidade
stefanteixeira
0
130
TDC 2016 SP - Continuous Delivery para aplicações Java com ferramentas open-source
stefanteixeira
0
90
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
81
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
66
Other Decks in Programming
See All in Programming
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
270
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.3k
dRuby over BLE
makicamel
2
390
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
290
act1-costs.pdf
sumedhbala
0
120
Oxcを導入して開発体験が向上した話
yug1224
4
340
Creating Composable Callables in Contemporary C++
rollbear
0
170
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
310
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
630
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
14
5.9k
AI時代のUIはどこへ行く?その2!
yusukebe
22
7.5k
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
560
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.7k
First, design no harm
axbom
PRO
2
1.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The SEO Collaboration Effect
kristinabergwall1
1
490
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
250
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
Typedesign – Prime Four
hannesfritz
42
3.1k
The untapped power of vector embeddings
frankvandijk
2
1.8k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
My Coaching Mixtape
mlcsv
0
160
Transcript
Load Testing with Locust Stefan Teixeira @stefan_teixeira
[email protected]
stefanteixeira.com.br stefanteixeira.com
• QA Automation Engineer @ Toptal • Test Automation, Agile
and DevOps enthusiast • Technical blogs: stefanteixeira.com.br (pt-br) / stefanteixeira.com (en) Links: • E-mail:
[email protected]
• Twitter: twitter.com/stefan_teixeira • LinkedIn: linkedin.com/in/stefanteixeira • GitHub: github.com/stefanteixeira • SlideShare: slideshare.net/stefanteixeira About me
Load Tests
Load Tests
Which (open-source) should I use?
Which (open-source) should I use?
Which (open-source) should I use?
Which (open-source) should I use?
Locust
Locust • Python ❤ http://locust.io
Locust • Python • VERY simple http://locust.io
Locust • Python • VERY simple • Extensible http://locust.io
Documentation http://docs.locust.io/en/latest/index.html
Exemplos
Simple execution
Execution with weights
on_start
How to run?
Web mode
CLI mode locust --no-web -c 1 -r 1 -n 4
--only-summary --print-stats
Demo
Sample project https://github.com/stefanteixeira/todoapp-flask https://github.com/stefanteixeira/todoapp-flask/blob/master/ todoapp/tests/locustfile.py
References • Difference between performance/load/stress testing: http:// agiletesting.blogspot.com.br/2005/02/performance-vs-load-vs- stress-testing.html •
Installation tips: http://software.danielwatrous.com/load-testing- with-locust-io/ • Other sample project: https://github.com/noppanit/performance- test-example-by-locust • http://stackoverflow.com/questions/19816275/no-acceptable-c- compiler-found-in-path-when-installing-python (if you experience this error during installation) • Locust + Jenkins: http://www.testrisk.com/2015/09/performance- testing-on-ci-locust-is.html
Thanks! Stefan Teixeira @stefan_teixeira
[email protected]
stefanteixeira.com.br stefanteixeira.com