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

When maximum num=1 this will raise exception "Maximum number of requests reached" #778

Closed
vwin opened this issue Apr 20, 2018 · 1 comment

Comments

@vwin
Copy link

vwin commented Apr 20, 2018

locust cmd is locust --no-web -c1 -n1 -r1 --csv=1.csv -f perf.py
when I run the above cmd,will not recieve response data,will raise exception "Maximum number of requests reached"
but if I change -n100 this will work fine

  • OS:ubuntu 16.04
  • Python version:3.6
  • Locust version:0.8.1
@cgoldberg
Copy link
Member

execution based on number of requests been removed in favor of time based execution. Next release will remove the -n flag completely. If you want to specify the run time for a test, you can do that with --run-time or -t.

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

No branches or pull requests

2 participants