我正试图让我的Gatling脚本在Flood.io中运行。该脚本使用Gatling EL,当我在本地运行gatling-charts-High曲线图-bundle-3.7.4时,它可以工作。
doIf("#{jwtToken.isUndefined()}"){...但是当上传到Flood.io时,我会在他们的日志中得到这个错误:
14:37:30.199 [ERROR] i.g.c.action.If - 'if-8' failed to execute: j.l.IllegalArgumentException: For input string: "#{jwtToken.isUndefined()}"提前感谢
编辑解决方案在使用旧的EL语法($而不是#)时找到了,我让它运行。此外,Flood.io支持需要在我的Flood.io帐户上将我的Gatling版本设置为3.2。
doIf("${jwtToken.isUndefined()}"){...发布于 2022-02-25 17:05:52
免责声明: Gatling创建者和CTO (意思是Flood.io是我们的竞争对手)
此错误意味着Flood.io目前不支持Gatling 3.7。
https://stackoverflow.com/questions/71266434
复制相似问题