jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject JSON Extractor issue with Union operator
Date Wed, 02 Nov 2016 20:03:29 GMT
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/:

[,] 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message