Unable to open JMX file in embedded JMeter
I have a file that was created in the basic download of JMeter (same version as embedded) that is using JDBC Sampler. Yet when I try to open this file in the plugin supplied editor or run headless test I get the following exception:
> Building 83% > :jmeterRunError in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'C:\dev\code\td\jmeter\poc-benchmark\src\test\jmeter\generated.jmx', conversion error com.thoughtworks.xs
tream.converters.ConversionException: org.apache.jmeter.protocol.system.SystemSampler : org.apache.jmeter.protocol.system.SystemSampler
---- Debugging information ----
message : org.apache.jmeter.protocol.system.SystemSampler
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : org.apache.jmeter.protocol.system.SystemSampler
class : org.apache.jorphan.collections.ListedHashTree
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[4]/hashTree[2]/SystemSampler
line number : 104
Am I missing some plugins? I noticed that my build/jmeter/lib/ext directory is completely empty
This error does indicate that Jmeter is missing the class org.apache.jmeter.protocol.system.SystemSampler I believe this is part of core jmeter though, not an external plugin.
I maintain a newer version of this project over at https://github.com/jmeter-gradle-plugin/jmeter-gradle-plugin, If you can try using that plugin and continue to have this issue, I can look into it. Please raise a new issue there if you need help.