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

Introduce sensible default settings for run time #1598

Closed
cyberw opened this issue Oct 18, 2020 · 2 comments
Closed

Introduce sensible default settings for run time #1598

cyberw opened this issue Oct 18, 2020 · 2 comments

Comments

@cyberw
Copy link
Collaborator

cyberw commented Oct 18, 2020

Some things in Locust require the user to be overly verbose/explicit.

I think we should:

  1. When run in headless mode, make run time (-t) default to infinity and user count (-u) default to 1
  2. Host (-H / host attribute on the User) should not be mandatory, as the user might be using all absolute URLs, or even a non-HTTP user where a "base host" might not make sense at all.
  3. Make the wait_time default to 0 (Make wait_time default to zero (vote up/down for this ticket please :) #1308)

Does anyone else like/not like that idea?

@cyberw
Copy link
Collaborator Author

cyberw commented Nov 11, 2020

run time default fixed in #1625

@cyberw cyberw changed the title Introduce sensible default settings (run time, user count, host, wait_time) Introduce sensible default settings for run time Nov 11, 2020
@cyberw
Copy link
Collaborator Author

cyberw commented Nov 11, 2020

wait_time default fixed in #1626

making -H non-mandatory (2.) can be fixed later as part of #1591, so we dont need this issue any more

The only part that is unique for this issue is the default for run time, so I changed the name of the ticket.

@cyberw cyberw closed this as completed Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant