Skip to content

Commit 5d244ba

Browse files
committed
Fix something
1 parent 8aba100 commit 5d244ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

load_test/locustfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ def search(self):
5959
USE_CPM = self.environment.parsed_options.usecpm
6060
# random_queries = random.sample(queries, 100)
6161
for query in queries:
62-
params = query["params"]
62+
params = query["params"].copy()
6363
if USE_CPM == "TRUE":
6464
params["use_cpm"] = "iwanttogetdatafromcpm"
65+
6566
url_path = f"{query['path']}"
6667
self.client.get(
6768
url=url_path,

0 commit comments

Comments
 (0)