简体   繁体   English

我试图在jmeter中打开一个jmx文件并收到此错误

[英]I've tried to open a jmx file in jmeter and received this error

Error from terminal after running: $ ./jmeter -n -t Katia_4k1.jmx 运行后来自终端的错误:$ ./jmeter -n -t Katia_4k1.jmx

Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/Users/yahavhoffman/Desktop/Katia_4k1.jmx', missing class 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.jorphan.collections.ListedHashTree
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                : /jmeterTestPlan/hashTree/hashTree/hashTree[8]/com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig
line number         : 347
version             : 3.2 r1790748
-------------------------------

The error is regarding missing WebDriver Sampler plugin, you just need to install it and you should be able to open your Test Plan on next JMeter startup (assuming that this is the only missing plugin) 该错误是关于缺少WebDriver Sampler插件的,您只需要安装它,并且您应该能够在下次JMeter启动时打开测试计划(假设这是唯一缺少的插件)

The recommended way of installing JMeter Plugins and keeping them up-to-date is using JMeter Plugins Manager 建议的安装JMeter插件并使它们保持最新的方式是使用JMeter插件管理器

JMeter插件管理器WebDriver采样器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM