If your JMeter script makes use of the Random CSV Data Set Config Plugin, you may find your test will fail to start when uploaded to Blazemeter. If you download the logs from the Logs tab of your failed test report, you'll find that the jmeter-console.log throws the following error:
2019-01-23 18:00:46,298 ERROR o.a.j.JMeter: Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/home/jmeter/Withdrawal_requests.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/com.blazemeter.jmeter.RandomCSVDataSetConfig line number : 58 version : 4.0 r1823414 -------------------------------
This error means that the JMeter instance install on the Blazemeter test engine does not include the Random CSV Data Set Config plugin. While Blazemeter automatically includes standard plugins that are typically available through JMeter's Plugin Manager, a few non-standard plugins must be uploaded with your test in order to run.
In order to correct the error, simply upload the plugin JAR file along with your test, as you would any other test file, per the instructions found in Uploading Files & Shared Folders.
0 Comments