Hello!
I updating my old test scenario for Gatling M2.0.3
In my test I request details of user loans. Each user could have a
number of loans, but I need to request not more than five of them.
In Gatling 2.0.0-M2 I have perfectly working check:
foreach("${account_ids}", "account_id", "counter"){
doIf(session => session.getV[Int]("counter").map(_ < 5)){
But now i have problem with syntactics
I try earlier suggested
foreach("${account_ids}", "account_id", "counter"){
doIf (
- session => session("counter").as[Int] < 5
- or, session => session("counter").validate[int].map(_ < 5) {
But it didn't compile anymore.
среда, 22 мая 2013 г., 15:08:44 UTC+3 пользователь Stéphane Landelle написал: