val happyPath = scenario("Test Users")
.asLongAs(s => notifyStatus.incrementAndGet() < 2) {
exec(setNotifyFlagTrue)
}
.exec(exec(KJTest.ClaimloginUsers(createKJTestUsers.rendezVous(users))))
.rendezVous(users)
.exec(deleteKJTestUser)
.asLongAs(s => notifyStatusEnd.incrementAndGet() < 2) {
exec(setNotifyFlagFalse)
}
I only want to add .duration(1 hour) so I can run this scenario for 1 hour but it seems it's not accepting duration under scenario.
Please Advice?
Regards
scenario("Test Users").during(3600 seconds)