jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: JSON Extractor issue with Union operator
Date Thu, 03 Nov 2016 11:44:29 GMT
On 2 November 2016 at 20:03, Philippe Mouawad
<philippe.mouawad@gmail.com> wrote:
> Hello,
> I noticed today what seems to be a bug.
>
> Using  JSON PATH :
> $.[state,city]
>
> It fails with:
> com.jayway.jsonpath.InvalidPathException: Could not parse token starting at
> position 2. Expected ?, ', 0-9, *
>
> I opened a bug for it:
>
>    - https://github.com/jayway/JsonPath/issues/278
>
>
> Do you confirm this is a correct expression as per
> http://goessner.net/articles/JsonPath/:

Looks OK to me.

> [,] Union operator in XPath results in a combination of node sets. JSONPath
> allows alternate names or array indices as a set.
>
> Thanks
>
> Regards
>
> Philippe M.

Mime
View raw message