Problem running test with nestled loops

Hi.

Im running Gatling 2.0.0 M3a and I have a test that runs fine except for one thing. The test basically looks like this:

val scn = scenario(“LoadTest”)
.during(72 hours) {
randomSwitch (
10 → Val-1,
5 → Val-2,
5 → Val-3,
5 → Val-4,
5 → Val-5,
5 → Val-6,
5 → Val-7,
5 → Val-8,
5 → Val-9,
5 → Val-10,
5 → Val-11,
10 → Val-12,
10 → Val-13,
10 → Val-14,
10 → Val-15
)
.during(23 hours, “counter1”) {
randomSwitch (
20 → report1,
20 → report2,
10 → report3,
25 → report4,
20 → report5,
5 → report6
)
}
}

All the different chains have been defined earlier and works fine. The first randomswitch works fine, so does the following .during-loop that contains another randomswitch. My problem is the first .during-loop (the one with 72 hours. Everything goes through the first time but after the first run (takes about 24 hours) it does not loop, even though it’s plenty of tiume left of the 72 hours this test should loop. I have also tried to make the first loop a .repeat-loop with the same result.
Have I done something wrong or is there an error somewhere?

IIRC, this was a bug that was fixed some time ago.
You could try upgrading to current snapshot.

Cheers,

Stéphane

Ok, thanks I’ll try that. Just download from the download link on the page?

Yep
And have a look at migrating instructions: https://github.com/excilys/gatling/wiki/Gatling%202#snapshot