diff --git a/tests/locustfile-functional.py b/tests/locustfile-functional.py index 9224494..57e4840 100644 --- a/tests/locustfile-functional.py +++ b/tests/locustfile-functional.py @@ -22,7 +22,7 @@ class QuickStartUser(SequentialTaskSet): @task def captcha(self): - captcha_params = {"level":"debug","media":"image/png","input_type":"text"} + captcha_params = {"level":"debug","media":"image/png","input_type":"text", "size":"350x100"} with self.client.post(path="/v2/captcha", json=captcha_params, name="/captcha", catch_response = True) as resp: if resp.status_code != 200: diff --git a/tests/locustfile.py b/tests/locustfile.py index 7a7b40d..07cf572 100644 --- a/tests/locustfile.py +++ b/tests/locustfile.py @@ -24,7 +24,7 @@ class QuickStartUser(SequentialTaskSet): @task def captcha(self): # TODO: Iterate over parameters for a more comprehensive test - captcha_params = {"level":"easy","media":"image/png","input_type":"text"} + captcha_params = {"level":"easy","media":"image/png","input_type":"text", "size":"350x100"} resp = self.client.post(path="/v2/captcha", json=captcha_params, name="/captcha") if resp.status_code != 200: