gpt4 book ai didi

非GUI模式下Jmeter报错

转载 作者:行者123 更新时间:2023-12-02 00:49:59 26 4
gpt4 key购买 nike

我收到此错误,但我不知道我使用了任何插件...我该如何解决此问题?

[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
-------------------------------

最佳答案

失败于 DummySampler - "standard" jmeter-plugin 的一部分:

conversion error com.thoughtworks.xstream.converters.ConversionException: kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler

因此从 here 下载 JMeterPlugins-Standard ,将其内容解压到JMeter安装目录,重新启动JMeter。

关于非GUI模式下Jmeter报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36611641/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com