

After stopping a test on the UI, when I click on "Download report" the plots show a date range between _test-start_ and _now_, instead of _test-start_ and _test-end_.
All the plots should only contain data between _test-start_ and _test-end_ dates I guess.
All three plots in the report continue plotting either 0 (Response Times and Number of Users) or RPS (Total Requests per Second) after the test has ended up until the moment you open or refresh the Download Report page.
locust -f example.pylocust -f example.pyimport time
from locust import HttpUser, task
class QuickstartUser(HttpUser):
@task
def hello_world(self):
self.client.get("/hello")
self.client.get("/world")
@task(3)
def view_item(self):
for item_id in range(10):
self.client.get(f"/item?id={item_id}", name="/item")
time.sleep(1)
def on_start(self):
self.client.post("/login", json={"username":"foo", "password":"bar"})
BTW I think this is a great tool, I have just discovered it and I am loving it! :heart:
I'm agree with you. 馃憤
Let me review the code, maybe I could make a PR to solve this. Also I don't like that charts data disappear after a page refresh but it properly show up when you generate the test report
Most helpful comment
I'm agree with you. 馃憤
Let me review the code, maybe I could make a PR to solve this. Also I don't like that charts data disappear after a page refresh but it properly show up when you generate the test report