https://bz.apache.org/bugzilla/show_bug.cgi?id=65794
Felix Schumacher <felix.schumac...@internetallee.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |FixedInTrunk Status|NEW |NEEDINFO --- Comment #9 from Felix Schumacher <felix.schumac...@internetallee.de> --- @Vladimir, it would be great, if you could test next nightly or build from trunk and report back, whether this fixes your problem. commit 278255de85829c850d36ad1655d1541e66d5368f AuthorDate: Sat Jan 15 18:11:36 2022 +0100 Fail JSONPath Assertion on indefinite paths and no assertion value The docs for JSONPath Assertion state, that it will fail the assertion, when no element is found with the given JSON path. This was currently not followed, when an indefinite path was used. In such a case, the JSONPath library would return an empty list, which the assertion logic would log as OK. With this change we let the assertion fail, when * an indefinite path was given * and an empty list is extracted * and no assertion value is given Bugzilla Id: 65794 --- .../java/org/apache/jmeter/assertions/JSONPathAssertion.java | 10 ++++++++-- .../org/apache/jmeter/assertions/TestJSONPathAssertion.java | 6 +++++- xdocs/changes.xml | 2 +- xdocs/usermanual/component_reference.xml | 4 +++- 4 files changed, 17 insertions(+), 5 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.