JsonPathExtractor Exception - invalid container object

965 views
Skip to first unread message

Yarden Bar

unread,
Aug 1, 2015, 4:50:07 AM8/1/15
to jmeter-plugins
Hi all,
My Jmeter environment is:
  1. Jmeter 2.13.r1665067
  2. WebSocket plugin: latest version 1.0.2
  3. Jmeter Plugins "ExtrasWithLibSet'

I'm getting the exception below:


2015/08/01 11:40:18 WARN  - com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor: Extract failed java.lang.IllegalArgumentException: Invalid container object
    at com
.jayway.jsonpath.JsonPath.read(JsonPath.java:238)
    at com
.jayway.jsonpath.internal.JsonReader.read(JsonReader.java:103)
    at com
.jayway.jsonpath.internal.JsonReader.read(JsonReader.java:97)
    at com
.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor.process(JSONPathExtractor.java:106)
    at org
.apache.jmeter.threads.JMeterThread.runPostProcessors(JMeterThread.java:750)
    at org
.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:452)
    at org
.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
    at java
.lang.Thread.run(Thread.java:745)



Is there a way to increase verbosity or other debug info? I've just spent the last couple of hours on disable/enable components in order to identify the cause for this issue.

Also tried cloning the plugin lib and adding log messages, but the compilation fails.

Thanks,
Yarden

Yarden Bar

unread,
Aug 1, 2015, 5:20:56 AM8/1/15
to jmeter-plugins

So, I've found where the JsonPathExtractor was failing.

FWIW, the log message should be more informative. at least include the 'erroneous path' and maybe the Json conent.

Thanks,
Yarden

Sachin Chauhan

unread,
Nov 7, 2015, 9:54:04 PM11/7/15
to jmeter-plugins
Hi Yarden,  What was the issue?

manal.f...@gmail.com

unread,
Jul 13, 2016, 10:40:04 AM7/13/16
to jmeter-plugins
Hello, what was the issue? I am facing same issue. 


On Saturday, August 1, 2015 at 11:50:07 AM UTC+3, Yarden Bar wrote:

valupali....@gmail.com

unread,
Jan 25, 2018, 4:46:07 AM1/25/18
to jmeter-plugins
how did you resolved this. please help me i am facing same problem


On Saturday, August 1, 2015 at 2:50:56 PM UTC+5:30, Yarden Bar wrote:
Reply all
Reply to author
Forward
0 new messages