diff --git a/operations/locustfile.py b/operations/locustfile.py index a1390350b..cbb8576eb 100644 --- a/operations/locustfile.py +++ b/operations/locustfile.py @@ -99,7 +99,7 @@ def get_auth_request_body(): with open("mock_credentials/report-stream-valid-token.jwt") as f: auth_token = f.read() params = urllib.parse.urlencode( - {"scope": auth_scope, "client_assertion": auth_token} + {"scope": auth_scope, "client_assertion": auth_token.strip()} ) return params.encode("utf-8")