-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Report][Modern-UI] HTML report is blank #2603
Comments
@andrewbaldwin44 can you take a look? |
Hi @G1-Diep-Duong I'm running your example and I'm not able to reproduce the issue. Do you know if you were using the old Locust UI prior to release 2.22.0? Maybe that would be why it used to work. Can you see if there are any error messages in the browser console? Can you reproduce the issue if you use the |
Hi @andrewbaldwin44, Run the example locust file in headless mode for generating HTML reports in both Modern and Old UI: |
Hey @G1-Diep-Duong, somehow I am still unable to reproduce this issue. I'm using the same locust file and parameters as you, I even tried on a Mac using Python version 3.9 The blank page you are seeing is because there is an error happening somewhere, I will try to add some error handling to prevent this from happening, however we should still try and investigate why this is happening. Would you mind trying the following:
In the meantime I will keep trying to reproduce the error on my side :/ |
Hi @andrewbaldwin44 , for the option 1, here is the error message: For Option 2, after installing locust in dev mode version: locust-2.23.2.dev10 |
Hmm this is quite strange. @cyberw have you ever seen anyone receiving that error message when installing locust in editable mode? @G1-Diep-Duong Unfortunately the error message is not super helpful, my best guess is that it would have to do with your browser not supporting something. Can you share the version of Chrome that you are using? |
I havent seen this issue myself and havent heard any more than what is in this ticket… maybe the pip version is very old? The version is generated by setuptools_scm.. |
Yeah that's what I was going to suggest, just try updating everything (pip, python, chrome, etc.). But I'm not sure if that would really count as solving the issue 😅 |
Hi @andrewbaldwin44 I am using latest Chrome on MacOS:
|
Prerequisites
Description
Run a test then open the HTML report -> Noticed that it is blank
Note: This bug occurs from 2.22.0, and did not occur on 2.21.0
Command line
locust -f SimpleWeb.py -u 100 -r 10 -t 30s --html=samplelocust.html
Locustfile contents
Python version
3.9.18
Locust version
2.23.1
Operating system
macOS 14.2.1 (23C71)
The text was updated successfully, but these errors were encountered: