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
Stefan Teixeira
May 20, 2016
Programming
77
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
91
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
120
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
75
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
65
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
140
TDC 2016 SP - Continuous Delivery para aplicações Java com ferramentas open-source
stefanteixeira
0
94
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
82
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
68
Other Decks in Programming
See All in Programming
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
160
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
470
Cloudflare is Agents
chimame
0
140
メールのエイリアス機能を履き違えない
isshinfunada
0
220
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
330
yield再入門 #phpcon
o0h
PRO
0
970
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
3.5k
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
670
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
180
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
170
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
170
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
150
Featured
See All Featured
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
760
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
890
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
360
It's Worth the Effort
3n
188
29k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
460
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
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