From 83e1286d2861b4ca28fe8f600d8428a7e8e6ec93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Krone=CC=81?= Date: Fri, 13 Nov 2020 15:41:21 +0100 Subject: [PATCH] Users spawned message now shows total instead of previous. --- locust/runners.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locust/runners.py b/locust/runners.py index b87aa055fe..4dd9a3a0e6 100644 --- a/locust/runners.py +++ b/locust/runners.py @@ -184,10 +184,10 @@ def spawn(): while True: if not bucket: logger.info( - "All users spawned: %s (%i already running)" + "All users spawned: %s (%i total running)" % ( ", ".join(["%s: %d" % (name, count) for name, count in occurrence_count.items()]), - existing_count, + len(self.user_greenlets), ) ) self.environment.events.spawning_complete.fire(user_count=len(self.user_greenlets))