'Using Gatling Expression Language in Flood.io
I am trying to get my Gatling scala script running in Flood.io. The script uses Gatling EL and works when I am running it locally with gatling-charts-highcharts-bundle-3.7.4
doIf("#{jwtToken.isUndefined()}"){...
But when uploaded to Flood.io I get this error in their logs:
14:37:30.199 [ERROR] i.g.c.action.If - 'if-8' failed to execute: j.l.IllegalArgumentException: For input string: "#{jwtToken.isUndefined()}"
Thanks in advance
[EDIT] Solution found When using the old EL syntax ($ instead of #) I got it running. Furthermore, the Flood.io support needed to set my Gatling version to 3.2 on my Flood.io account.
doIf("${jwtToken.isUndefined()}"){...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
