Unleashing the Eighth Plague: An Intro to Load Testing with Locust and Python
summary
Introduces using Locusts with Python to write small scripts (nine lines for a basic test) that spawn traffic via the requests-backed client and either the web UI or headless mode with -c and -r, demonstrates design load tests that fail by surfacing a 2.8s max latency example and breaking points under tens or hundreds of thousands of requests, shows distributed controller/agent setup and flooding a message queue with 1,000 users to find where components die and how APMs reveal the clogged artery.
AI-written summary · about
chapters (13)
- 0:00Start
- 0:52Intro To Load Testing
- 2:13Where Load Testing Belongs
- 2:26Unit Testing
- 3:06Where Does Load Testing Fit in
- 4:50Secret to Effective Load Testing
- 12:27Get the Most Value out of Load Tests
- 13:37Monitor the System under Test
- 15:23Running Locus Distributed
- 16:25Non-Restful Services
- 18:14How Often Do You Recommend Running the Load Test
- 18:24Recommendation for a Load Test
- 20:09Maintainability for Locust Tests
related talks
49mLoad Testing with Python and Locust
45mBeat the rush! Designing effective load tests for your web application
43mRelease the locusts - distributed performance tests
15m"Stress Less: Easy Database Load Testing Using Python and Locust"
01h 10mPerformance Testing Crash Course
37mExploratory Load-Testing with AI Tooling - it's Time to Ramp Up!
45mFrom Functional Tests to Performance Tests: Robustum, an Implementation Example
21mCrunching Millions of Requests for Breakfast: A Tale of Performance Testing Prowess
