https://bz.apache.org/bugzilla/show_bug.cgi?id=65794
Felix Schumacher <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO OS| |All --- Comment #1 from Felix Schumacher <[email protected]> --- I think you are stumbling upon an implementation detail of the jsonpath library we are using. According to https://github.com/json-path/JsonPath#what-is-returned-when the library will always return a list, if an expression '?(<expression>)' is used. JMeter will interpret this as an empty (but valid) result. We might be able to tweak the parser using the options given at https://github.com/json-path/JsonPath#tweaking-configuration Currently we are using the default configuration. (./src/components/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java line 112) You might get better results (without patching JMeter), if you were asserting a value with the used assertion. -- You are receiving this mail because: You are the assignee for the bug.
