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

The Charts presentation in the report downloaded by locust is problematic #2706

Closed
2 tasks done
Tao-Whale opened this issue May 8, 2024 · 3 comments · Fixed by #2709
Closed
2 tasks done

The Charts presentation in the report downloaded by locust is problematic #2706

Tao-Whale opened this issue May 8, 2024 · 3 comments · Fixed by #2709
Labels

Comments

@Tao-Whale
Copy link

Prerequisites

Description

When I used the V1.0.0 version, the downloaded charts appeared fine
brznKr7O6H

When I used the newer version (2.27, 2.25), the downloaded chart was not fully displayed, and I tried the lower version 2.19, which had the same problem
WisXLzPws4
image

Command line

locust --tag post/pipelines

Locustfile contents

class QuickstartUser(HttpUser):
    wait_time = constant(1)

    @task
    @tag("post/pipelines")
    def create_pipeline(self):
        self.client.post("/pipelines", json={
            "name": f"pressure_test_pipeline_{int(time.time())}",
            "version": "1.0.0",
            "title": "pressure_test_pipeline_title",
            "detailLink": "",
            "maintainer": "tester",
            "dag": "pipeline-bidsapp-bidsinfo",
            "isPublic": True
        })

Python version

3.9

Locust version

2.27

Operating system

Windows11

@Tao-Whale Tao-Whale added the bug label May 8, 2024
@cyberw
Copy link
Collaborator

cyberw commented May 8, 2024

Hi!

Is this an issue with the downloaded report or also the live view?

@Tao-Whale
Copy link
Author

Tao-Whale commented May 9, 2024

Hi~
When I click on "Download Report" and then preview the html report I have a problem with Charts, and of course the same thing happens after the download.

I think it's caused by the run time being too short, because I only ran it for 5 seconds, and when I ran it for 10s the charts were displayed properly

[run time: 5s]
image

[run time: 10s]
image

@cyberw
Copy link
Collaborator

cyberw commented May 9, 2024

@andrewbaldwin44 if you have time, can you have a look at what happens in the RPS graph with short run times? Super-short run times arent that common I think, but the line/dot should not be missing completely or be zero.

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

Successfully merging a pull request may close this issue.

2 participants