-
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
Number of requests lower than expected in web UI #3000
Comments
Can you add a log statement (or just a print statement) before and after every request made? While it isnt impossible that there's something wrong with locust this is kind of a basic feature, so I'd be real suprised if it is a locust issue - perhaps the responses just arent reaching locust. |
I can reproduce this too! Maybe the UI stops updating too early. @andrewbaldwin44 can you maybe have a look (dont wanna interrupt what you're doing right now, but when you have the time) |
Confirmed it works for a single worker node, but not for multiple. I'll raise a new issue. |
Interesting, I did a few tests and I couldn't reproduce any issues with multiple workers. But definitely open an issue and I will take a look! |
Prerequisites
Description
I have a test.js file which counts the amount of requests processed. I start the server with
node test.js
. A delay of 1 second for each response is added.When I start locust with only a single master node with one user, within 17 requests the amount differs between what Locust is saying (15) in the web UI and what I see in the web server logs (17). Even after clicking the "Stop" button and waiting several seconds the number in the UI stays on 15. When running
--headless
the number is correct.Command line
locust
Locustfile contents
The text was updated successfully, but these errors were encountered: