I have a task which requires me to send 1 request per minute for 1000 services. I would like to control this behavior using hatch rate and clients where I will spawn 1 new client every minute and this will go on for 1000 clients. Currently, if my understanding is correct, locust is implemented in such a way that 1 client is spawned every sec. and locust is terminated after run-time is expired.
I would like to understand how can I achieve this.
Additional info :
- We are using distributed execution (-no-web) due to which i don't have access to UI
- Currently, there is no possibility to terminate the client after its execution ends nor i am aware of an approach which can help me pause the client. Currently, even after client has completed set number of iterations it keeps on pumping more requests till expiry of run time.
- I cannot use sleep time during execution as our end-to-end request comprises of post + get where get can take anywhere from 10 sec to 1 minute and in some cases more than 1 minute to achieve expected results
please advise.