I have a fairly hairy expression, which is passed to jexl after substituting the
variables. JMeter is happy, but jexl complains:
jmeter.functions.JexlFunction: An error occurred while evaluating the expression
"("default" == "tablet" && "200" != "") ? "200" : "200""
org.apache.commons.jexl.parser.ParseException: *Lexical error at line 1,
column 40. Encountered: "?" (63), after : ""*
at
org.apache.commons.jexl.ScriptFactory.createNewScript(ScriptFactory.java:164)
at
org.apache.commons.jexl.ScriptFactory.createScript(ScriptFactory.java:99)
What's wrong with the ternary operator? Jexl's syntax reference
<http://commons.apache.org/jexl/reference/syntax.html> describes it... Thank you!
-mi
- Need help deciphering Jexl's error message Mikhail T.
-