You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class T1(TaskSet):
@task
def test1(self):
self.client.get("/test1")
class T2(TaskSet):
@task
def test2(self):
self.client.get("/test2")
class T3(TaskSet):
@task
def test3(self):
self.client.get("/test3")
class User1(HttpLocust):
task_set = T1
class User2(HttpLocust):
task_set = T2
class User3(HttpLocust):
task_set = T3
The text was updated successfully, but these errors were encountered:
ztou
added a commit
to ztou/locust
that referenced
this issue
Apr 3, 2019
When running locust with -c 1 on 3 locust clients, locust exit sliently.
Not sure about the original design, so just add a simple fix to set
num_locusts to 1 when it was 0 on round()
ISSUE - locustio#989
ztou
added a commit
to ztou/locust
that referenced
this issue
Apr 3, 2019
When running locust with -c 1 on 3 locust clients, locust exit silently.
Not sure about the original design, so just add a simple fix to set
num_locusts to 1 when it was 0 on round()
ISSUE - locustio#989
Description of issue
when there are 3 locust clients, but run with only 1 concurrent Locust users, locust exit without error or warning.
locust/locust/runners.py
Line 83 in 8b17c28
num_locusts
could be 0Expected behavior
num_locusts should be at least 1
Actual behavior
num_locusts is 0
Steps to reproduce (for bug reports)
when there are 3 locust clients, but run with only 1 concurrent Locust users like below, locust exit without error or warning.
l.py as below:
The text was updated successfully, but these errors were encountered: