From 89b8d6c953e65616c7846d6d4fc2a9d7a3aa854c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Barbecho=20Delgado?= Date: Fri, 2 Jun 2023 08:49:11 +0200 Subject: [PATCH] Parse user_classes from LOCUST_USER_CLASSES env --- locust/argument_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/locust/argument_parser.py b/locust/argument_parser.py index 3a283953f9..5ab9fdc803 100644 --- a/locust/argument_parser.py +++ b/locust/argument_parser.py @@ -584,6 +584,7 @@ def setup_parser_arguments(parser): nargs="*", metavar="UserClass", help="Optionally specify which User classes that should be used (available User classes can be listed with -l or --list)", + default=os.environ.get("LOCUST_USER_CLASSES", "").split(), )