我收到此错误但我不知道我使用任何插件......我该怎么做才能解决这个问题?
[root @ centos6 bin]#。/ jmeter -n -t ../scripts/Beta/Beta_Load_Test_Plan1.jmx
Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/opt/jmeter/bin/../scripts/Beta/Beta_Load_Test_Plan1.jmx', conversion error com.thoughtworks.xstream.converters.ConversionException: kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler
---- Debugging information ----
message : kg.apc.jmeter.samplers.DummySampler
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.samplers.DummySampler
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[8]/kg.apc.jmeter.samplers.DummySampler
line number : 16279
------------------------------- : kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler
---- Debugging information ----
message : kg.apc.jmeter.samplers.DummySampler
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.samplers.DummySampler
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[8]/kg.apc.jmeter.samplers.DummySampler
line number : 16279
-------------------------------
message : kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler
---- Debugging information ----
message : kg.apc.jmeter.samplers.DummySampler
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.samplers.DummySampler
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[8]/kg.apc.jmeter.samplers.DummySampler
line number : 16279
-------------------------------
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message : kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[8]/kg.apc.jmeter.samplers.DummySampler
line number : 16279
version : 2.13 r1665067
-------------------------------
答案 0 :(得分:4)
DummySampler失败了 - "standard" jmeter-plugin的一部分:
转换错误com.thoughtworks.xstream.converters.ConversionException:kg.apc.jmeter.samplers.DummySampler:kg.apc.jmeter.samplers.DummySampler
从here下载JMeterPlugins-Standard,将其内容解压缩到JMeter安装目录,重新启动JMeter。
答案 1 :(得分:0)
从这一侧jpgc-dummy下载0.2.zip,然后将jmeter-plugins-cmn-jmeter-0.3复制到你的jmeter \ lib目录。