Closed asfimport closed 13 years ago
Roman Bargezi (migrated from Bugzilla): Created attachment Bug51988.patch: Proposed patch
@pmouawad (migrated from Bugzilla): Created attachment BUG_51988.jmx: Test Plan
true
@pmouawad (migrated from Bugzilla): Will generate exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:686) at org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:125) at org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:373) at org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:359) at org.apache.jmeter.control.GenericController.next(GenericController.java:131) at org.apache.jmeter.control.LoopController.next(LoopController.java:108) at org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:75) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:268) at java.lang.Thread.run(Thread.java:680)
Created attachment test.csv: CSV file for Test plan
@pmouawad (migrated from Bugzilla): Created attachment BUG_51988.jmx: Test plan
true
@pmouawad (migrated from Bugzilla): Thanks, fix applied. Next time please submit a Test plan that illustrates the issue.
Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java jakarta/jmeter/trunk/xdocs/changes.xml
Regards. Philippe.
Roman Bargezi (Bug 51988): Build CSVDataSet.java 1091505 4/12/11
When not specifying a delimiter the default delimiter for data lines is ",". For the header lines, this default is not used which results in an StringIndexOutOfBoundsException
Version: Nightly Severity: minor OS: All
Duplicates: