We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3ad0c commit 6b70cedCopy full SHA for 6b70ced
tests/performance/locustfiles/functions/function_run_load_test.py
@@ -54,16 +54,14 @@ def get_endpoint(self) -> None:
54
)
55
56
# run function
57
- kwargs = {}
58
job_input_faker = jsf.JSF(job_input_schema)
59
- kwargs["json"] = job_input_faker.generate()
60
- kwargs["headers"] = {
61
- "x-simcore-parent-project-uuid": "null",
62
- "x-simcore-parent-node-id": "null",
63
- }
64
-
65
response = self.authenticated_post(
66
- url=f"/v0/functions/{function_uid}:run", kwargs=kwargs
+ url=f"/v0/functions/{function_uid}:run",
+ json=job_input_faker.generate(),
+ headers={
+ "x-simcore-parent-project-uuid": "null",
+ "x-simcore-parent-node-id": "null",
+ },
67
68
response.raise_for_status()
69
job_uid = response.json().get("uid")
0 commit comments