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

Providing greater control over the loadgenerator #320

Closed
2 tasks done
Mwad22 opened this issue Aug 18, 2022 · 1 comment
Closed
2 tasks done

Providing greater control over the loadgenerator #320

Mwad22 opened this issue Aug 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Mwad22
Copy link

Mwad22 commented Aug 18, 2022

Feature Request

Providing greater control over the loadgenerator.

Is your feature request related to a problem?

Currently, there is not much control given to the user over the loadgenerator beyond being able to change the number of USERS via an environment variable. No simple way to control the loadgenerator, and locust web UI is specifically disabled via --headless flag at docker entrypoint (see here) so users aren't able to override it.

Describe the solution you'd like:
Providing more control over the loadgenerator via the following:

  • removing the --headless and -u tags from loadgenerator's docker entry point and supporting this default behaviour via LOCUST_HEADLESS and LOCUST_USERS environment variables. This allows users to override these environment variables in case they would like to expose the Locust UI and allow users more control over the loadgenerator.
  • Supporting LOCUS_HOST option. Allows vendors that want to add an ingress route to the demo on k8s to direct loadgen to go through the ingress route.

Describe alternatives you've considered.

On k8s, setting env variable USERS to 0 and using command line within the loadgenerator pod.

@Mwad22 Mwad22 added the enhancement New feature or request label Aug 18, 2022
@puckpuck
Copy link
Contributor

This was fixed in #316

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

No branches or pull requests

2 participants