Parottasalna Course Notes

📝 Parottasalna Blog

248 practical articles on backend engineering, system design, databases, Docker, Python, AI and DSA, explained simply.

3 articles tagged #Locust · Clear filters

Programming

Locust ep 5: How to use test_start and test_stop Events in Locust

Locust provides powerful event hooks, such as test_start and test_stop , to execute custom logic before and after a load test begins or ends. These e…

Nov 21, 2024 · 3 min read
Programming

Locust ep 4: Why on_start and on_stop are Essential for Locust Users

Locust provides two special methods, on_start and on_stop , to handle setup and teardown actions for individual users. These methods allow you to exe…

Nov 19, 2024 · 2 min read
Testing

Locust EP 3: Simulating Multiple User Types in Locust

Locust allows you to define multiple user types in your load tests, enabling you to simulate different user behaviors and traffic patterns. This is p…

Nov 18, 2024 · 3 min read