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

Call wait function in on_start #1053

Closed
williamlhunter opened this issue Jul 24, 2019 · 0 comments
Closed

Call wait function in on_start #1053

williamlhunter opened this issue Jul 24, 2019 · 0 comments

Comments

@williamlhunter
Copy link
Contributor

Request

I'm not sure if this is a design choice, but I would find the change useful. To accurately simulate user-behavior, I have to call self.wait in my on_start function. I think most people would prefer this, but I could be wrong.

Description of issue

Loust not calling wait_function after on_start().

Expected behavior

On start is called, then the locust waits before executing the first task in the task_set.

Actual behavior

wait_function is not called

Environment settings

  • OS: windows
  • Python version: 3.6.3
  • Locust version: 0.10.0
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

1 participant