Downloading report should provide a meaningful human name
Prerequisites
- [X] I am using the latest version of Locust
- [X] I am suggesting a new feature, not asking a question
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
By the way the report summary should include initial conditions: number of users, ramp and duration
Makes a ton of sense. PRs welcome!
I am interested working on this issue, Please assign me this issue.
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
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 :)
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?)
https://github.com/locustio/locust/pull/2947