lehmannk opened a new pull request, #5717: URL: https://github.com/apache/jmeter/pull/5717
## Description This PR adds the jsonpath string to the jsonpath assertion error message so it is easier to understand the actual error. ## Motivation and Context Currently, the jsonpath error produced when a mismatch occurs is not easy to understand because it does not contain the underlying analyzed jsonpath. Example: ``` Assertion error:false Assertion failure:true Assertion failure message:Value expected to be 'true', but found '[]' ``` There is no way to understand what is expected to be 'true' here. Thus, the actual jsonpath which caused the error shall be added, example: ``` Assertion error:false Assertion failure:true Assertion failure message:Value in json path '$.response.valid' expected to be 'true', but found '[]' ``` ## How Has This Been Tested? tested locally ## Screenshots (if appropriate): ## Types of changes - New feature (non-breaking change which adds functionality) ## Checklist: - [ x] My code follows the [code style][style-guide] of this project. - [ x] I have updated the documentation accordingly. [style-guide]: https://wiki.apache.org/jmeter/CodeStyleGuidelines -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org