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

Downloading report should provide a meaningful human name #2931

Closed
2 tasks done
obriat opened this issue Oct 9, 2024 · 7 comments · Fixed by #2947
Closed
2 tasks done

Downloading report should provide a meaningful human name #2931

obriat opened this issue Oct 9, 2024 · 7 comments · Fixed by #2947
Assignees
Labels
feature request hacktoberfest See https://hacktoberfest.digitalocean.com for more info

Comments

@obriat
Copy link
Contributor

obriat commented Oct 9, 2024

Prerequisites

Description

Hi,
When downloading the report through the Web UI, the default name provided is report_<timesatmp>.html.

I suggest this default format: <START DATE YYYY-MM-DD-HH:MM> - Locust - <SCRIPT NAME> - <HOSTNAME>.html

This format could help sorting and finding previous reports for an human beeing

@obriat
Copy link
Contributor Author

obriat commented Oct 9, 2024

By the way the report summary should include initial conditions: number of users, ramp and duration

@cyberw
Copy link
Collaborator

cyberw commented Oct 9, 2024

Makes a ton of sense. PRs welcome!

@cyberw cyberw added the hacktoberfest See https://hacktoberfest.digitalocean.com for more info label Oct 10, 2024
@jayantp2003
Copy link

I am interested working on this issue, Please assign me this issue.

@obriat
Copy link
Contributor Author

obriat commented Oct 11, 2024

I am interested working on this issue, Please assign me this issue.

My workflow: fork the project, create a branch named after this issue, once pushed, create a PR to this project

@cyberw
Copy link
Collaborator

cyberw commented Oct 11, 2024

I'm assigning it to @obriat because he's the one who originally filed the issue, but I don't really care who takes a crack at it :)

@obriat
Copy link
Contributor Author

obriat commented Oct 11, 2024

Functions stats_report & _download_csv_suggest_file_name to alter in /locust/locust/web.py

TODO: don't know where to get the missing data: start date, filename & host (from /locust/locust/html.py?)

@obriat obriat mentioned this issue Oct 20, 2024
@obriat
Copy link
Contributor Author

obriat commented Oct 20, 2024

#2947

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request hacktoberfest See https://hacktoberfest.digitalocean.com for more info
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants