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
Meetup DevOps Carioca - Load Testing with Locust
Search
Stefan Teixeira
May 20, 2016
Programming
84
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
Transcript
24 slides
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
More Decks by Stefan Teixeira
See All by Stefan Teixeira
Scrum Gathering Portugal 2016 - Containerizing Tests with Docker
stefanteixeira
0
95
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
130
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
82
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
69
6º Encontro do Grupo de Testes Carioca - Testes em um contexto de Continuous Delivery
stefanteixeira
0
56
TDC 2016 SP - Desmistificando cobertura de código como métrica de qualidade
stefanteixeira
0
150
TDC 2016 SP - Continuous Delivery para aplicações Java com ferramentas open-source
stefanteixeira
0
100
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
88
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
82
Other Decks in Programming
See All in Programming
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
700
Crash Auto Pipelines
veronikapj
1
450
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
230
エージェントの管理もエージェントに – herdr-core と自作バックログで作る司令塔 –
nearme_tech
PRO
1
120
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
200
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
810
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
400
あなたはMCPの機能を、まだ知らない。
4geru
1
740
AIエージェントの「テストは通るのに本番で壊れる」を減らす
shibuiwilliam
3
120
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
160
高速開発を止めずに 性能を上げる Flyleのシステム刷新と改善の歴史
azihsoyn
0
100
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
580
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
630
Designing for Performance
lara
612
70k
We Are The Robots
honzajavorek
0
460
Utilizing Notion as your number one productivity tool
mfonobong
4
650
How to Talk to Developers About Accessibility
jct
2
630
Speed Design
sergeychernyshev
33
2.3k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
630