Reset Gatling user state on each iteration

This commit is contained in:
Stephane Landelle
2020-10-09 21:05:09 +02:00
parent f1a29a5f1c
commit af1da2a0e9

View File

@@ -43,6 +43,8 @@ class RewardsScenario extends Simulation {
.exec(http("get_transactions")
.get("/transactions/findAll/${rwdId}"))
.exec(_.removeAll("txnId", "txtDate", "custId", "rwdId"))
}
setUp(
scn.inject(atOnceUsers(100))