Hi everybody,
We got the following assertion error even though both the Expected and Actual values are same:
java.lang.AssertionError: 1 expectation failed.
JSON path inboundScan.result doesn't match.
Expected: [TRACKING_ID_NOT_FOUND]
Actual: [TRACKING_ID_NOT_FOUND]
Below is the screenshot of the error:

We tried equalTo, equalToIgnoringWhiteSpace and equalToIgnoringCase with/without trim but it is still the same
Here is a snippet of the code:
.then()
.body("inboundScan.result", equalTo("[TRACKING_ID_NOT_FOUND]".trim()));
For your information, we are using REST-assured 2.8.0 in MacOS X 10.11.2. Not sure if it helps
Please advise on how to resolve this. Thank you
Regards,
Clyde