You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/11/02 20:13:55 UTC

[Bug 60334] New: JSON Extractor fails to parse JSON Path with union

https://bz.apache.org/bugzilla/show_bug.cgi?id=60334

            Bug ID: 60334
           Summary: JSON Extractor fails to parse JSON Path with union
           Product: JMeter
           Version: 3.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

Created attachment 34415
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34415&action=edit
Test plan showing issue

For expression:

$.[state,city]

We get exception:

 Exception: Could not parse token starting at position 2. Expected ?, ', 0-9, * 


This works on 
- http://jsonpath.com/


I opened bug:

https://github.com/jayway/JsonPath/issues/278

I attach test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60334] JSON Extractor fails to parse JSON Path with union

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60334

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Java bug fixed as of Java 8 u112

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60334] JSON Extractor fails to parse JSON Path with union

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60334

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Philippe Mouawad from comment #1)
> Java bug fixed as of Java 8 u112

Bad comment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 60334] JSON Extractor fails to parse JSON Path with union

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60334

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
It appears correct json path should be:
$.['state','city']

-- 
You are receiving this mail because:
You are the assignee for the bug.