Skip to content
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

Response Times graph broken (drops to 0 after a while) #1157

Closed
skivis opened this issue Nov 18, 2019 · 4 comments
Closed

Response Times graph broken (drops to 0 after a while) #1157

skivis opened this issue Nov 18, 2019 · 4 comments
Labels

Comments

@skivis
Copy link
Contributor

skivis commented Nov 18, 2019

Describe the bug

Something has broken in regards to the reporting (specifically the Response Times graph) in the web UI in distributed mode (with docker). Whenever I start a new test run with locust 0.13.1 the graph updates just fine for the first 10-20 seconds and the drops to 0 and doesn't recover from this weird behavior... The statistics tab updates just fine and is not affected but the graph just breaks for some reason.

ResponseTimesGraph

I haven't done much investigation at all into why this is happening since I'm at work atm but I'm putting this out there because maybe someone has an idea of what could be causing this. Lots of activity in the past week, maybe someone has an aha moment.

Expected behavior

The graph should update as usual

Actual behavior

Graph drops to zero, haven't checked to response from the polls but I suspect something funny is going on there

Steps to reproduce

$ git clone https://github.com/locustio/locust.git
$ cd locust/examples/docker-compose
$ docker-compose up

Open up localhost:8089 and run 20 users ramping up 1/sec. Defect should show itself within 10-20 seconds.

Environment settings

  • OS: Mac & Windows & Docker
  • Python version: 3.7
  • Locust version: 0.13.1
@skivis skivis added the bug label Nov 18, 2019
@skivis skivis changed the title Response Times Graph broken Response Times Graph broken (drops to zero after a short while) Nov 18, 2019
@skivis skivis changed the title Response Times Graph broken (drops to zero after a short while) Response Times graph broken (drops to 0 after a while) Nov 18, 2019
@heyman
Copy link
Member

heyman commented Nov 18, 2019

I can reproduce the error and I've identified the cause. Working on a fix now!

@heyman heyman closed this as completed in 059efd8 Nov 18, 2019
@heyman
Copy link
Member

heyman commented Nov 18, 2019

I've pushed 0.13.2 to PyPI. New Docker images should be building right now.

@skivis
Copy link
Contributor Author

skivis commented Nov 18, 2019

Awesome! Thanks for super fast fix!

@akaicn
Copy link

akaicn commented Jan 17, 2020

I have already updated to 0.13.5, but response time graph broken still occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants