-
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
Incorrect RPS when decreasing the number of users #2399
Comments
Can you maybe try this using the modern ui? |
@andrewbaldwin44 Maybe something you can take a look at? I'm fine with leaving the old UI broken, my plan is that next minor release should switch the default to Modern UI, and this is not a critical issue. |
Yeah I see there is a bit of a false assumption that is being made in the new UI which causes this "freezing" of the charts. When refetching the stats, we rely on the fact that with each refetch the stats data should change and thus the hook will re-run. I can open a PR to fix this assumption shortly. As for the response time, I believe it is showing correctly. The RPS monitor in the top right shows the average response time from the aggregated data. Although it seems a bit weird that it still shows "1" when there are no users (or when the tests are stopped), the number is correct As for the charts, I believe that once we fix the false assumption, the data is being displayed correctly
|
@mpindado can you retest with latest prerelease (pip install -U --pre locust). It should be available in a few minutes. |
Describe the bug
In the UI and HTML report, the RPS chart shows the latest RPS computed when users>0. It could be this stat is only tracked on new messages. I came to this using custom shapes but this also happens when editing the test.
Expected behavior
The RPS should reflect the actual RPS on the given period.
Actual behavior
The RPS has the last value computed when there were users, even if there are 0 users.
Steps to reproduce
(Actually will happen also with just 1 user).
Environment
The text was updated successfully, but these errors were encountered: