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,
.check(jsonPath("$.workOrderInfo").ofType[Any].is("null"))
But, get error as
failed: jsonPath($.workOrderInfo).find.is(null), but actually found null
Thanks,
Swapnil.