Forum Discussion

bzzup's avatar
bzzup
Occasional Contributor
9 years ago
Solved

JSONPath expressions do NOT follow basic syntax

 Hi,

 

ReadyAPI 1.5.0

We have a LOT of JsonPath assertions with expressions like $.elements[*].id[0]

This should work according to basic syntax http://goessner.net/articles/JsonPath/ and it worked in previous versions.

However it does not work anymore. We cannot select explicit element from the array! ReadyAPI fails with "Invalid JSONPath" expression $.elements[*].id works fine but returns String of ALL elements.

This is really a blocker for 1.5.0... Is there any info about this?

 

Thanks