I am able to add CSVDataconfig in Jmeter UI and it is working perfectly. When
I try to code in java, using API's, like

CSVDataSet dataset=new CSVDataSet();
 dataset.setFilename("tables.txt");
 dataset.setDelimiter("\t");
dataset.setVariableNames("table");

and add the dataset to one sampler or to the hashtree or threadgroup like , 

sampler.addTestElement(dataset);
or
hashtree.add(dataset);

and run the jmx file, Jmeter throws some conversion error. 


What is the correct way to add a csvdataconfig to thread group or sampler
programmatically ?






--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Adding-CSVDataconfig-to-test-Planthrough-Java-API-tp5724066.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to