This works: Parameter names configured in CSV Data Set Config, separator in CSV file = a comma This works: Parameter names configured in CSV Data Set Config, separator in CSV file = a tab This works: Parameter names not configured in CSV Data Set Config, separator in CSV file = a comma, header line states parameters This does not work: Parameter names not configured in CSV Data Set Config, separator in CSV file = a tab, header line states parameters I also vaguely remember having reported an issue where after a first iteration through the CSV file, the header line was taken as a parameter line. I also believe that at that time the above issue did not exist. Don't know under which user name I reported this, it was some time ago (2 yrs?) and I changed companies since.
Hello, Can you attach a simple test plan and your csv file ? Thank you Regards Philippe
Created attachment 27721 [details] This works, all commas Uses login.txt
Created attachment 27722 [details] All comma's
Created attachment 27723 [details] This uses tabs in header and data. This results in an error jmeter error 2011/10/07 12:56:28 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-3 2011/10/07 12:56:28 INFO - jmeter.engine.StandardJMeterEngine: Ending thread Thread Group 1-3 2011/10/07 12:56:28 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2011/10/07 12:56:28 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*) 2011/10/07 12:56:28 INFO - jmeter.engine.StandardJMeterEngine: Test has ended 2011/10/07 12:56:31 ERROR - jmeter.JMeter: Uncaught exception: java.lang.NullPointerException at org.apache.jmeter.protocol.http.proxy.ProxyControl.findApplicableElements(ProxyControl.java:706) at org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:397) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:296)
Created attachment 27724 [details] All tabs
Created attachment 27725 [details] Same test plan as nr 2, but trying to mix comma and tab This results in a running test plan but with just ${user} and ${password} filled in, instead of actual data
And last but not least, this test plan also runs properly, just as the first, when you fill in "user,password" in the parameter field, "\t" in the delimiter field and no header in the tab delimited CSV file.
(In reply to comment #4) > Created attachment 27723 [details] > This uses tabs in header and data. This results in an error > > jmeter error > 2011/10/07 12:56:28 INFO - jmeter.threads.JMeterThread: Thread finished: > Thread Group 1-3 > 2011/10/07 12:56:28 INFO - jmeter.engine.StandardJMeterEngine: Ending thread > Thread Group 1-3 > 2011/10/07 12:56:28 INFO - jmeter.engine.StandardJMeterEngine: Notifying test > listeners of end of test > 2011/10/07 12:56:28 INFO - jmeter.gui.util.JMeterMenuBar: > setRunning(false,*local*) > 2011/10/07 12:56:28 INFO - jmeter.engine.StandardJMeterEngine: Test has ended > 2011/10/07 12:56:31 ERROR - jmeter.JMeter: Uncaught exception: > java.lang.NullPointerException > at > org.apache.jmeter.protocol.http.proxy.ProxyControl.findApplicableElements(ProxyControl.java:706) > at > org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:397) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:296) In this one you say you use \t as delimiter , but in test plan you declared , So it is OK for me if it fails.
(In reply to comment #0) > This works: Parameter names configured in CSV Data Set Config, separator in CSV > file = a comma > This works: Parameter names configured in CSV Data Set Config, separator in CSV > file = a tab > This works: Parameter names not configured in CSV Data Set Config, separator in > CSV file = a comma, header line states parameters > This does not work: Parameter names not configured in CSV Data Set Config, > separator in CSV file = a tab, header line states parameters > This has been reported as 51988. It is fixed in trunk. Please test with nightly build when it is available. > I also vaguely remember having reported an issue where after a first iteration > through the CSV file, the header line was taken as a parameter line. I also > believe that at that time the above issue did not exist. > > Don't know under which user name I reported this, it was some time ago (2 yrs?) > and I changed companies since. *** This bug has been marked as a duplicate of bug 51988 ***
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2585