WebUI `Edit running load test` not carried `user_classes` when enabled `--class-picker`
See original GitHub issueDescribe the bug
- Run the web ui with option
--class-picker
, and it contains two userclass scripts(locustfile1.py,locustfile2.py), here we only pickup thelocustfile1.py
as the locust userclass - When the script is running, from the top right click the
Edit running load test
and it only show custom the concurrent user, spawn rate and host, no options ofUserClasses
andShapeClass
- Then click the
Start swarming
button
Expected behavior
It should only run locustfile1.py
user class
Actual behavior
It had run all the userclasses, including locustfile1.py
and locustfile2.py
Steps to reproduce
See above description
Environment
- OS:
- Python version: 3.10.2
- Locust version: (please dont file issues for anything but the most recent release or prerelease builds) 2.11.0
- Locust command line that you ran:
locust -f /scripts --class-picker
- Locust file contents (anonymized if necessary):
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Configuration — Locust 2.14.0 documentation
A Master node need Worker nodes that connect to it before it can run load tests. --master Set locust to run in distributed...
Read more >locust/CHANGELOG and locust Releases (Page 8) | LibHunt
Editing a running test in the Web UI with class-picker restarts user count back at 0 ... WebUI Edit running load test not...
Read more >locust/CHANGELOG.md at master · locustio/locust - GitHub
Fixed bugs: WebUI Edit running load test not carried user_classes when enabled --class-picker #2170. Merged pull requests:.
Read more >Newest 'webui' Questions - Stack Overflow
Locust - Shape Class ignored when running Web UI with --class-picker. I saw that locust supports defining different user classes and shape classes...
Read more >https://raw.githubusercontent.com/locustio/locust/...
... WebUI `Edit running load test` not carried `user_classes` when enabled `--class-picker` [\#2170](https://github.com/locustio/locust/issues/2170) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah i can take a look a little later today
close it as #2171 merged into the project now.