Scenario Issue

Hi Stephane

I have defined a scenario as follows but unable to add .duration(1 hour) in this scenario. Please can you advice what’s wrong here

val happyPath = scenario(“Test Users”)

.asLongAs(s => notifyStatus.incrementAndGet() < 2) {






.asLongAs(s => notifyStatusEnd.incrementAndGet() < 2) {



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?


scenario("Test Users").during(3600 seconds)