--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
val scn_payments = scenario("Stress test Payments")
.feed(Users)
.repeat(1) {
exec(ScenarioLogin.chain_login)
.pause(500 milliseconds)
.exec(chain_transfer_type)
.pause(500 milliseconds)
.exec(ScenarioPayments1.chain_payment1)
.pause(500 milliseconds)
.exec(ScenarioPayment1.chain_payment2)
.exec(chain_logout)
.randomSwitch(
exec(ScenarioPayments1.chain_payment1),
exec(ScenarioPayment1.chain_payment2)
)
}
setUp(
scn_payments.inject(
atOnce(6 users)
).protocolConfig(httpConf)
| Stefan Magnus Landrø | ![]() 14:04 (3 ч. назад) |
.feed(Users)
.repeat(5) {
exec(ScenarioLogin.chain_login)
.pause(500 milliseconds)
.randomSwitch(
exec(ScenarioPayments1.chain_payment1),
exec(ScenarioPayments2.chain_payment2),
exec(ScenarioPayments3.chain_payment3),
exec(ScenarioPayments4.chain_payment4),
exec(ScenarioPayments5.chain_payment5),
)
.exec(chain_logout)
}