Checking null objects in JsonPath

Hi Guys,

I’m trying to validate some JsonPath objects and it’s working fine for non-null objects but it’s failing for “null” objects.

Actually the String “null” and object null comparision get failed, how can I handle this situation ?

We are checking error as below,


But, get error as

failed: jsonPath($.workOrderInfo), but actually found null