CannotResolveClassException: com.blazemeter.jmeter.controller.ParallelSampler

1,195 views
Skip to first unread message

chris....@liazon.com

unread,
May 2, 2019, 6:38:19 PM5/2/19
to jmeter-plugins
I would like to use the Blazemeter Parallel Controller to bundle some asynchronous calls to more closely mimic browser behavior.

I'm trying to track the total time to load certain pages, and there are some long running calls that skew my numbers because they are running back to back instead of asynchronously. 

When I run in the Jmeter UI it seems to work fine, but it doesn't seem to work when I use the CLI.

My Jmeter version is 5.1 r1853635
Plugin versions:
jmeter-plugins-manager-1.3.jar
jmeter-bzm-http2-1.0.jar

Is there an additional setup step I'm missing to get this to work in NonGUI mode?

Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:<test name>.
Cause:
CannotResolveClassException: com.blazemeter.jmeter.controller.ParallelSampler

 Detail:com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception     : com.thoughtworks.xstream.converters.ConversionException
cause-message       :
first-jmeter-class  : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jmeter.save.ScriptWrapper
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[22]/com.blazemeter.jmeter.controller.ParallelSampler
line number         : 6051
version             : 5.1 r1853635

ruth...@gmail.com

unread,
Jun 5, 2019, 10:48:22 AM6/5/19
to jmeter-plugins
It is running from same machine? Is only problem that you run GUI test from machine with plugins and CLI test from machine, where plugins are not installed?

chris....@liazon.com

unread,
Jun 5, 2019, 2:21:01 PM6/5/19
to jmeter-plugins
I am running both on the same machine using the same installation of Jmeter. My theory was that this add-in was only designed to work in GUI mode as all the documentation only ever showed it being used in GUI mode.

chris....@liazon.com

unread,
Jun 10, 2019, 10:23:59 AM6/10/19
to jmeter-plugins
I believe the problem I was having was with the tests I was trying to add the controller to. They were tests originally written in a much older version of Jmeter. I tried adding the controller to a newer test and it worked as expected.
Reply all
Reply to author
Forward
0 new messages