How to Include the Random CSV Data Set Config Plugin in a BlazeMeter Test?

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. 

Symptom

Download the logs from the Logs tab of your failed test report. View the jmeter-console.log and look for 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, you must upload a few non-standard plugins with your test in order to run.

Solution

In order to correct the error, upload the plugin JAR file along with your test, as you would any other test file, per the instructions found in Uploading Files and Shared Folders.

Tip: As an alternative to using the plugin, let BlazeMeter generate Synthetic Test Data in your Performance Tests!