Forum Discussion

yakari's avatar
yakari
New Contributor
9 years ago
Solved

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

  • 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.

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    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.