Ask a Question

JSON path assertion fails with dots in object name

SOLVED
yakari
New Contributor

JSON path assertion fails with dots in object name

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

1 REPLY 1
nmrao
Community Hero

I believe that there are no further releases in SoapUI Pro edition.

Now it is under different name ReadyAPI, you would get SoapUI NG.

Please consider to go for ReadyAPI. And you should be able to use the same license if you have a valid license.



Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: