You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @obriat, as of Locust version 2.22.0, the modern UI is the new default for the web UI. If you want to view the legacy extend example you can view it with the --legacy-ui flag:
Prerequisites
Description
Since 2.22.0 the extend web ui is not working with the new UI.
How to reproduce
git clone git@github.com:locustio/locust.git git fetch git checkout tags/2.24.0 -b 2.24.0-branch python3 -m venv .venv source .venv/bin/activate pip install locust flask locust -L DEBUG -f examples/extend_web_ui/extend.py
Debug info
http://localhost:8089 => New UI ok
http://localhost:8089/extend =>KO: blank page with "Object of type Undefined is not JSON serializable" message
logs :
No stack trace or additional info. Same with "404 Not Found", it should return the missing path for debugging purpose
Command line
locust -f examples/extend_web_ui/extend.py
Locustfile contents
Python version
Python 3.10.12
Locust version
locust 2.24.0
Operating system
WSL 2.1.5.0 (core 5.15.146.1-2), Windows : 10.0.19045.4046
The text was updated successfully, but these errors were encountered: