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

Support for distributing arbitrary arguments to Locust [Proposal] #345

Closed
mlromramse opened this issue Oct 12, 2015 · 1 comment
Closed

Comments

@mlromramse
Copy link

Since it now is possible to write your own Locusts, which we have started to do it would be appreciated if the command line arguments not directed to locust.main or HttpLocust could be passed along into the Locust derivate of choice.

If you for instance create a Locust that doesn't use Http the host argument is not needed. Still this is the only argument you can pass to your Locust class.

My suggestion is that *args and **kwargs is taken from the command line arguments and added to the Locust.__init__.

In this way you can build your own locusts and control them from the command line alone.

@cyberw
Copy link
Collaborator

cyberw commented Oct 18, 2019

Closing due to lack of activity. Let me know if this is still an issue.

@cyberw cyberw closed this as completed Oct 18, 2019
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

3 participants