Skip to content

Commit

Permalink
server_benchmark_locust: add a commented code. Code allows to use EMA…
Browse files Browse the repository at this point in the history
…IL as username to query requests, instead of randomly taking in server usernames.
  • Loading branch information
notoraptor committed Mar 21, 2024
1 parent 6bad887 commit a7b2f4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/server_benchmark_locust.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def __init__(self, *args, **kwargs):
global NEXT_USER_ID
super().__init__(*args, **kwargs)
self.username = USERNAMES[NEXT_USER_ID % len(USERNAMES)]
# self.username = EMAIL
# Move to next username for next user
NEXT_USER_ID += 1
print("Username:", NEXT_USER_ID, self.username)
Expand Down

0 comments on commit a7b2f4f

Please sign in to comment.