In Karate tests, I'd like to evaluate whether an attribute returned in json response is of string type. Below is what am doing:
* def abc = response.results.abc
Then match abc == "#string?"
Below is the response am getting:
actual: 'lion', expected: '#string?', reason: did not evaluate to 'true'
Please let me know where I am wrong. Thanks.