Closed debugtalk closed 6 years ago
I'm -1 on this
@cgoldberg I have implemented this feature in HttpRunner
, as a Locust wrapper.
http://docs.httprunner.top/en/latest/load-test.html
I think this feature may do help to the convenience of Locust, and will not influence any current feature. Shall I set up a PR on this ?
OK, I will keep this feature in HttpRunner.
@cgoldberg OR @heyman - I am relatively new to Python (2 years experience) and I was wondering why a feature like this would be too hard to maintain or implement -- I am sure your decisions are based on good reasoning, can you help me understand?
why a feature like this would be too hard to maintain or implement
While it might be hard, my reasoning was based on the fact that many great configuration management tools already exist... you should use one to provision and execute your Locust tests if you need a complex distributed setup.
Yeah, it would be cool to have an example of this.
OK, I will keep this feature in HttpRunner.
@debugtalk I tried running your "locusts" but it simply exits without any output on std-out console.
I had a similar need and I was able to solve it locally with minishift. Later I was able to take it to openshift to get the most out of the hardware with minimum commands. The only down side is that the auto scale will reset your tests.
The issue is still fuzzy, but the command cannot go @debugtalk
Description of feature request
Currently when we need to do distributed test, we have to start Locust master and slaves one by one. Suppose our load test machine has 32 cores, we need to run start command 33 times ! Also, when we adjust our Locust scripts, we have to kill all Locust slaves and start again.
Considering this scenario is so common, we can add one parameter (such as
--cpu-cores
) to simplify this job.Expected behavior
With the argument , we can start locust with master and specified number of slaves (default to cpu cores number) at one time.
Actual behavior
To achieve the same goal above, we have to start Locust master first.
And then open another terminal shell, start Locust slaves one by one.
Environment settings (for bug reports)
N/A
Steps to reproduce (for bug reports)
N/A