Forum Discussion

amelaao's avatar
amelaao
New Contributor
7 years ago
Solved

JSONPath Existence Match always returns true

Hello,

I am using  JSONPath Existence Match Assertion on an array and I noticed that it always evaluates to true.

This is my expression and no matter which custom property I use inside the condition, the result always evaluates to true.

 

$.ApplicationResult.HotelList[?(@.HotelId==${#TestSuite#hotelIId})]

 

I'm using SOAPUI 5.4.0.

 

Thanks!