Json Path Extractor fails to run

714 views
Skip to first unread message

gyna...@gmail.com

unread,
Jan 14, 2015, 7:04:20 PM1/14/15
to jmeter-...@googlegroups.com
Hi,
I recently downloaded JMeterPlugins-ExtrasLibs-1.2.0.zip to be able use "Json Path Extractor" plugin but runing both Example Test Plan as well as my own test plan throws following exception:

2015/01/14 17:48:04 INFO  - jmeter.engine.StandardJMeterEngine: Running the test! 
2015/01/14 17:48:04 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*) 
2015/01/14 17:48:05 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group 
2015/01/14 17:48:05 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group. 
2015/01/14 17:48:05 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error 
2015/01/14 17:48:05 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false 
2015/01/14 17:48:05 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1 
2015/01/14 17:48:05 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started 
2015/01/14 17:48:05 INFO  - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 
2015/01/14 17:48:05 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoClassDefFoundError: Could not initialize class com.jayway.jsonpath.JsonPath
at com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor.extractJSONPath(JSONPathExtractor.java:63)
at com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor.process(JSONPathExtractor.java:80)
at org.apache.jmeter.threads.JMeterThread.runPostProcessors(JMeterThread.java:728)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:436)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
at java.lang.Thread.run(Thread.java:745)

I ran it with Jmeter 2.8 version under Ubuntu 14.04. 
Would appreciate any ideas. Thank you,
Vlad



gyna...@gmail.com

unread,
Jan 15, 2015, 1:53:15 PM1/15/15
to jmeter-...@googlegroups.com, gyna...@gmail.com
Ok, I guess this is permissions problem and it seems to happen only if you install JMeter from Ubuntu Software Center.
Once I downloaded original archive from Apache and unzipped it to /~/opt/Jmeter and used this local version of the tool - everything worked fine for me.
Reply all
Reply to author
Forward
0 new messages