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 2015/10/21 23:23:51 UTC

[Bug 58515] New: New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

            Bug ID: 58515
           Summary: New JSON related components : JSON-PATH Extractor and
                    JSON-PATH Renderer in View Results Tree
           Product: JMeter
           Version: 2.13
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com

As per discussion:
-
http://mail-archives.apache.org/mod_mbox/jmeter-dev/201510.mbox/%3CCAH9fUpZcutmA-RwUSxYTgxDNCu3HjdE0EwsaJ4jeS%2BxtQdKACw%40mail.gmail.com%3E
-
http://mail-archives.apache.org/mod_mbox/jmeter-dev/201510.mbox/%3C562201F1.4010101%40apache.org%3E

And PR:
- https://github.com/apache/jmeter/pull/

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

--- Comment #5 from Milamber <mi...@apache.org> ---
Platform: Oracle Java v8 on Linux

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

--- Comment #6 from UbikLoadPack support <su...@ubikloadpack.com> ---
Even in nightly the json-smart and json-path are not here.
Although they are in build.xml and build.properties.

Do you see what issue it could be ? svn:eol related ?

Thanks

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

Milamber <mi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Milamber <mi...@apache.org> ---

Hello

When I try to use the JSON Path PostProcessor on an existing script, I've this
error:

2015/10/23 07:57:50 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.NoClassDefFoundError: com/jayway/jsonpath/Predicate
    at
org.apache.jmeter.extractor.json.jsonpath.JSONManager.getJsonPath(JSONManager.java:45)
    at
org.apache.jmeter.extractor.json.jsonpath.JSONManager.extractWithJsonPath(JSONManager.java:65)
    at
org.apache.jmeter.extractor.json.jsonpath.JSONPostProcessor.process(JSONPostProcessor.java:103)
    at
org.apache.jmeter.threads.JMeterThread.runPostProcessors(JMeterThread.java:749)
    at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:451)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.jayway.jsonpath.Predicate
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 7 more

Probably a missing dependency? JsonPath (under AL2)

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Wed Oct 21 21:34:12 2015
New Revision: 1709925

URL: http://svn.apache.org/viewvc?rev=1709925&view=rev
Log:
Bug 58515 - New JSON related components : JSON-PATH Extractor and JSON-PATH
Renderer in View Results Tree
Mention donation
Bugzilla Id: 58515

Modified:
    jmeter/trunk/xdocs/changes.xml

Author: pmouawad
Date: Wed Oct 21 21:32:51 2015
New Revision: 1709924

URL: http://svn.apache.org/viewvc?rev=1709924&view=rev
Log:
Bug 58515 - New JSON related components : JSON-PATH Extractor and JSON-PATH
Renderer in View Results Tree
Update SaveService svn revision id
Bugzilla Id: 58515

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java


Author: pmouawad
Date: Wed Oct 21 21:31:06 2015
New Revision: 1709923

URL: http://svn.apache.org/viewvc?rev=1709923&view=rev
Log:
Bug 58515 - New JSON related components : JSON-PATH Extractor and JSON-PATH
Renderer in View Results Tree
Exclude from lib
Add to aareadme.txt
Bugzilla Id: 58515

Modified:
    jmeter/trunk/lib/   (props changed)
    jmeter/trunk/lib/aareadme.txt


Author: pmouawad
Date: Wed Oct 21 21:26:58 2015
New Revision: 1709921

URL: http://svn.apache.org/viewvc?rev=1709921&view=rev
Log:
Bug 58515 - New JSON related components : JSON-PATH Extractor and JSON-PATH
Renderer in View Results Tree
Bugzilla Id: 58515

Added:
    jmeter/trunk/docs/images/screenshots/json-post-processor.png   (with props)
    jmeter/trunk/licenses/bin/json-path-2.0.0.txt   (with props)
    jmeter/trunk/licenses/bin/json-smart-2.2.txt   (with props)
    jmeter/trunk/src/components/org/apache/jmeter/extractor/json/
    jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/JSONManager.java
  (with props)
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/JSONPostProcessor.java
  (with props)
    jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/gui/
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/gui/JSONPostProcessorGui.java
  (with props)
    jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java
  (with props)
    jmeter/trunk/xdocs/images/screenshots/json-post-processor.png   (with
props)
Modified:
    jmeter/trunk/bin/saveservice.properties
    jmeter/trunk/build.properties
    jmeter/trunk/build.xml
    jmeter/trunk/eclipse.classpath
    jmeter/trunk/res/maven/ApacheJMeter_parent.pom
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsJSON.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java
    jmeter/trunk/test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

--- Comment #4 from Milamber <mi...@apache.org> ---

Why this question? nightly or eclipse have differences with the dependencies
management?

Neither, directly from SVN


svn co https://svn.apache.org/repos/asf/jmeter/trunk jmetertemp
cd jmetertemp/
ant download_jars
ant -Djmeter.version=2.14-SNAPSHOT -Duser.name=milamber@apache.org distribution
-Ddisable-svnCheck=true -Ddisable-check-versions=true
cd dist/
tar xfz apache-jmeter-2.14-SNAPSHOT.tgz
cd apache-jmeter-2.14-SNAPSHOT/
cd bin
./jmeter&

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

Milamber <mi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Milamber <mi...@apache.org> ---

Jars dependencies fixes.

URL: http://svn.apache.org/viewvc?rev=1710137&view=rev
Log:
Fix little issue on properties names for JSON libs
Bugzilla Id: 58515

Modified:
    jmeter/trunk/build.xml


And space policy


URL: http://svn.apache.org/viewvc?rev=1710138&view=rev
Log:
Space policy for ident (json libs)
One more space for jodd
Bugzilla Id: 58515

Modified:
    jmeter/trunk/build.properties

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

--- Comment #8 from Milamber <mi...@apache.org> ---
Review finished (I thinks)


URL: http://svn.apache.org/viewvc?rev=1710149&view=rev
Log:
Format code and NON-NLS strings
Bugzilla Id: 58515

Modified:
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/gui/JSONPostProcessorGui.java
   
jmeter/trunk/src/components/org/apache/jmeter/extractor/json/render/RenderAsJsonRenderer.java


URL: http://svn.apache.org/viewvc?rev=1710152&view=rev
Log:
Complete the maven pom
Bugzilla Id: 58515

Modified:
    jmeter/trunk/res/maven/ApacheJMeter_parent.pom

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO

--- Comment #3 from UbikLoadPack support <su...@ubikloadpack.com> ---
Hi Bruno,
Are you using a NIghtly build or your project in eclipse ?

If Eclipse, did you run ant download_jars ?
Thanks

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

[Bug 58515] New JSON related components : JSON-PATH Extractor and JSON-PATH Renderer in View Results Tree

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

--- Comment #9 from Milamber <mi...@apache.org> ---
URL: http://svn.apache.org/viewvc?rev=1710153&view=rev
Log:
Oups! JSON libs Already inside.
Bugzilla Id: 58515

Modified:
    jmeter/trunk/res/maven/ApacheJMeter_parent.pom

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