Reset Gatling user state on each iteration
This commit is contained in:
parent
ab7e2477d8
commit
eea42f2289
|
@ -43,6 +43,8 @@ class RewardsScenario extends Simulation {
|
||||||
|
|
||||||
.exec(http("get_transactions")
|
.exec(http("get_transactions")
|
||||||
.get("/transactions/findAll/${rwdId}"))
|
.get("/transactions/findAll/${rwdId}"))
|
||||||
|
|
||||||
|
.exec(_.removeAll("txnId", "txtDate", "custId", "rwdId"))
|
||||||
}
|
}
|
||||||
setUp(
|
setUp(
|
||||||
scn.inject(atOnceUsers(100))
|
scn.inject(atOnceUsers(100))
|
||||||
|
|
Loading…
Reference in New Issue