Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20073

JSON path assertion fails with dots in object name

$
0
0

Hi,

 

this issue is about the JSON assertions for objects containing dots in names. I use SoapUI Pro 5.1.2.

I have an JSON response as follows:

 

{
   "abc.efg.someName": {"check": true},
   "abc.efg.otherName": {"check": true}
}

When I add an assertion for 'JSONPath Existence Match' with node selector I get

$.abc.efg.someName.check

and an error 'Invalid JsonPath expression'.

 

To fix this I adapted the assertion to get it working.

$.['abc.efg.someName'].check

Please open a bug for it.

Thanks


Viewing all articles
Browse latest Browse all 20073

Trending Articles