community.
I need users created by different workers not to be duplicated. I.e. if worker_1 create user fake1 and run task for this user, worker_2 must not to be able create user fake1.
Currently it works only in standalone mode.
credentials = [ (f"fake{i}", 'password') for i in range(100) ]
class MobileUser(HttpUser):
tasks = [RealTimeTask]
wait_time = constant_pacing(1)
def __init__(self, parent):
super().__init__(parent)
if len(credentials) > 0:
shuffle(credentials)
self.username, self.password = credentials.pop()