Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Com.thoughtworks.xstream.converters.ConversionExce

Shulou Source: shulou.com Published: 2022-06-02 19:22:20 11月16日 Update

JMeter 4.0, executed for the first time on CentOS, enters the following command:

jmeter -n -t mytest.jmx -l 001.jtl

The following error occurred:

Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/fcy/apache-jmeter-4.0/bin/mytest.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/kg.apc.jmeter.perfmon.PerfMonCollector

line number : 519

version : 4.0 r1823414

Solution:

lib\ext, put the following three files, and execute the above command again.

These three files can be downloaded from Baidu's network disk, or downloaded from the official website.

Tags: Three command file again method first time error down input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Information Linux vpn Docker