You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope use SaveService.loadTree() load contain OpenModelThreadGroup jmx file,but it throw CannotResolveClassException
Actual behavior
throw CannotResolveClassException
Steps to reproduce the problem
use jemter gui create a jmx script file it contain OpenModelThreadGroup feature
use java program invoke SaveService.loadTree() method load the jmx file HashTree hashTree = SaveService.loadTree(scriptFile);
throw Exception
java.lang.IllegalArgumentException: Problem loading XML from:'/Users/m/git/service/6760ea60488693106d67df19.jmx'.
Cause:
CannotResolveClassException: OpenModelThreadGroup
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:66)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/OpenModelThreadGroup
line number : 10
version : 5.6.3
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:456)
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:429)
JMeter Version
5.6.3
Java Version
8
OS Version
mac 14.6.1
The text was updated successfully, but these errors were encountered:
Expected behavior
I hope use SaveService.loadTree() load contain OpenModelThreadGroup jmx file,but it throw CannotResolveClassException
Actual behavior
throw CannotResolveClassException
Steps to reproduce the problem
HashTree hashTree = SaveService.loadTree(scriptFile);
java.lang.IllegalArgumentException: Problem loading XML from:'/Users/m/git/service/6760ea60488693106d67df19.jmx'.
Cause:
CannotResolveClassException: OpenModelThreadGroup
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:66)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/OpenModelThreadGroup
line number : 10
version : 5.6.3
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:456)
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:429)
JMeter Version
5.6.3
Java Version
8
OS Version
mac 14.6.1
The text was updated successfully, but these errors were encountered: