Hi guys,
I’m getting a strange error… I was trying to build a .doIfOrElse block but the only thing that I need inside the else is a pause.
03:30:29.906 [ERROR] i.g.a.ZincCompiler$ - /Users/vilacap/development/gatling/simulations/sbw/UserJourneyModified.scala:198: type mismatch;
found : io.gatling.core.structure.ChainBuilder
required: io.gatling.core.session.Session
03:30:29.908 [ERROR] i.g.a.ZincCompiler$ - pause(15)
03:30:29.908 [ERROR] i.g.a.ZincCompiler$ - ^
.doIfOrElse("${var}", “”“true”""){
exec(http(“Something
.get(”""/something""")
.headers(headers_12))
}{
pause(15)
}
Thanks
Pedro