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

Error generating request statistics CSV in master–slave mode #1191

Closed
mjstrasser opened this issue Dec 10, 2019 · 1 comment
Closed

Error generating request statistics CSV in master–slave mode #1191

mjstrasser opened this issue Dec 10, 2019 · 1 comment
Labels

Comments

@mjstrasser
Copy link

mjstrasser commented Dec 10, 2019

Describe the bug

After applying load in master–slave mode, generating request statistics causes an error.

A ValueError is raised by StatsEntry.get_current_response_time_percentile() when it is called by requests_csv(). This is a change introduced by commit 44c3fffd5434c04034acc467184ad073b68f140c.

The error is not raised when not in master–slave mode.

Expected behavior

A CSV should be generated (and downloaded in web mode).

Actual behavior

An error is raised and no CSV is generated. In web mode a blank page is shown with only the words Internal Server Error. Returning to the web interface resets any chart information.

Steps to reproduce

In web mode:

  1. Start the master and slave processes.
  2. Start a swarm in the web interface.
  3. Go to the Download Data tab and click Download request statistics CSV.

In non-web mode.

  1. Start the slave process.
  2. Start the master process with the --csv option.

Environment settings

  • OS: MacOS, Linux
  • Python version: 3.7
  • Locust version: 0.13.2
@mjstrasser mjstrasser added the bug label Dec 10, 2019
@mjstrasser
Copy link
Author

This has been fixed, I think from #1197

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

No branches or pull requests

1 participant