Running multiple Locust scenarios from a CSV & comparing reports visually #3380
dev-vaayen
started this conversation in
Ideas
Replies: 1 comment
|
Cool stuff! You could integrate this more tightly into Locust, using this approach https://docs.locust.io/en/stable/use-as-lib.html (not sure if it is worth the work though) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I’ve been using Locust for a while but I kept hitting a bit of a productivity wall. Whenever I needed to test multiple scenarios with different parameters (users, spawn rates, durations), I found myself stuck in a tedious loop:
On top of that, comparing generated reports across different load scenarios felt like a bit of a chore. I figured there had to be a better way to orchestrate this, so I've been working on a small CLI tool to handle this stuff.
What it does right now:
How To:
Just define the load scenarios in a plan.csv:
And just run:
Next Plan
Adding a simple dashboard (likely using Streamlit) to compare multiple test runs and their graphical reports, more easily.
I would also look into storing the test results in a DB (likely SQLite) for history maintenance.
Please consider sharing your feedback and views on this and if you have any concerns regarding this.
All reactions