I am facing an issue in Karate where I am expecting a Json array in response but it is getting converted to Json object. All JsonArray parenthesis "[" are getting converted as "{" and being treated as Json objects.
No issue with SOAP UI.
@Rishim, use string instead of def, e.g:
* string somevar = response
Hope it works, I also did the same thing and get the value using jsonpath. Also, if possible please share example where you facing this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With