I have the following source code. I’ve spent a lot of time reviewing the gatling docs and online code examples, and I believe my code to be syntactically correct.
The problem here is that it says .doIf() is not even a valid function
All the code is here: https://gist.github.com/dragoonis/1024b1527330473b0ca2c629d185be1d
Using docker image:
denvazh/gatling:2.3.1 - https://hub.docker.com/r/denvazh/gatling/
- This is built with Scala 2.12.
- ENV GATLING_VERSION 2.3.1
[ERROR] i.g.c.ZincCompiler$ - /opt/gatling/user-files/simulations/SupervisionSimulation.scala:58: value doif is not a member of io.gatling.core.structure.ChainBuilder possible cause: maybe a semicolon is missing before `value doif’?
Can someone please help? I’m completely stuck. Thanks!