How can I repeat a scenario in 2.0.0-m3A???

Hey!

I’m using 2.0.0-m3A and have a REALLY SIMPLE problem. I try to repeat a scenario. However I’m getting a compilation issue:

val scn = scenario(“retrieving something”)
.repeat(101) {
exec(http(“fsm-search”)
.get(""“http://hostname/service/retrieve/something”"")
.check(status.is(200))
.check(jsonPath("$.items[*]").count.not(0)))
}

It says “not found: value exec”.

I think and think and cannot understand how can I come around this issue. Please help!!

Thanks!!

Until 2M3, you have to add import bootstrap._

This has been removed in the next version