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 8aba100 commit 5d244baCopy full SHA for 5d244ba
load_test/locustfile.py
@@ -59,9 +59,10 @@ def search(self):
59
USE_CPM = self.environment.parsed_options.usecpm
60
# random_queries = random.sample(queries, 100)
61
for query in queries:
62
- params = query["params"]
+ params = query["params"].copy()
63
if USE_CPM == "TRUE":
64
params["use_cpm"] = "iwanttogetdatafromcpm"
65
+
66
url_path = f"{query['path']}"
67
self.client.get(
68
url=url_path,
0 commit comments