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

How do we control the Clients in Locust? #659

Closed
AnilReddy05 opened this issue Sep 21, 2017 · 1 comment
Closed

How do we control the Clients in Locust? #659

AnilReddy05 opened this issue Sep 21, 2017 · 1 comment

Comments

@AnilReddy05
Copy link

  1. Is there any way to get the current executed Client information inside the Task set class? We can get the Thread number in Jmeter. Like that can we get the Client number in Locust tool?
  2. Suppose I'm executing the 20 requests with 5 clients. Can i say that each client is executing 4 requests (20/5 = 4 request each)? What is the internal mechanism using here to execute those 20 requests by using 5 clients?
  3. This question is related to the data given in Question: 2, Is that execution is happened iteration-wise. Like 1st iteration, Client 1, 2, 3 ,4 and 5 are executing request 1, 2,3, 4 and 5 respectively. Next iteration, again Client 1, 2, 3 ,4 and 5 are executing requests 6,7,8,9 and 10 respectively. How could we achieve this type of execution mechanism in Locust tool. Is this possible?

Please help me to clarify above questions.

I asked the question in SO. Please refer the below link.

https://stackoverflow.com/questions/46321590/how-do-we-control-the-clients-in-the-task-set-execution-in-locust

@aldenpeterson-wf
Copy link
Contributor

I posted a fairly comprehensive answer here.

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

2 participants