Jmeter5.1.1版本导入外部脚本时报异常Cause: CannotResolveClassException: kg.apc.jmeter.samplers.DummySampler Det

Jmeter5.1.1版本导入外部脚本时报异常:
Jmeter5.1.1版本导入外部脚本时报异常Cause: CannotResolveClassException: kg.apc.jmeter.samplers.DummySampler Det_第1张图片

Problem loading XML from:‘C:\ZStudy\性能测试\jmeter\测试计划(1).jmx’.
Cause:
CannotResolveClassException: kg.apc.jmeter.samplers.DummySampler

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[6]/kg.apc.jmeter.samplers.DummySampler
line number : 551
version : 5.1.1 r1855137

Jmeter5.1.1版本导入外部脚本时报异常Cause: CannotResolveClassException: kg.apc.jmeter.samplers.DummySampler Det_第2张图片
将下载的插件放到jmeter的lib的ext目录下
Jmeter5.1.1版本导入外部脚本时报异常Cause: CannotResolveClassException: kg.apc.jmeter.samplers.DummySampler Det_第3张图片
再重启Jmeter

Jmeter5.1.1版本导入外部脚本时报异常Cause: CannotResolveClassException: kg.apc.jmeter.samplers.DummySampler Det_第4张图片
Jmeter5.1.1版本导入外部脚本时报异常Cause: CannotResolveClassException: kg.apc.jmeter.samplers.DummySampler Det_第5张图片

你可能感兴趣的:(jmeter,测试工具)