Forum Discussion
KarelHusa
4 years agoSuper Contributor
Since routes is an array, you need to:
- index the first route
- get the code of the route
In JSONPath:
$.routes[0].code
This JSONPath should be safe. Besides SoapUI you can check e.g. on https://jsonpath.com/ .
I assume the implementation of the JSONPath library used in SoapUI evolved during the time and that's why you see different results in SoapUI 5.5.0 and 5.7.0.
Best regards,
Karel