-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add PERCENTILES_TO_CHART param in stats.py to make the Response Time Chart configurable #2313
Conversation
Percentiles were originally 50% and 95%. Command line parameter can specify chart and report percentiles. Defalt value is 50% and 95%.
Old parameters --percemtile1 and percentile2 were removed. Added test case in test_main for -percentiles parameter
Updated to get percentiles info from stats.py::
Once you're done, rename the PR to something more appropriate, now that we're not using a command line argument |
Nice. I think you accidentally commented out the import of pty in test_main.py. Ideally the test would actually check the UI to see that it took effect, but meh. Add it to the documentation at the bottom of docs/configuration.rst, and then we're pretty much done! |
I have corrected test_main.py and format of stats.py. Also update configuration.rst. Please review them. |
javascript and html file Modified test in test_main.py
response time chart
Nice! |
Added --percentiles command line argument which is for response time chart in chart page and download report page.
Default value is 95% and 50%.
example . # locust -f locust_file.py --percentiles 0.99,0.8
This is from issue #2311