I am calling 2 web services developed by 2 different companies
first service response: {"abc":"test","xyz":""}
second service response: {"foo":"USD","xyz":null}
Now I want to match the value of xyz from both services using automation. However, one service returns empty, and another returns null
. Due to this test fails. Is there a way to handle this in karate?
Note: Service response cannot be changed as it's developed by 2 different companies.