https://bz.apache.org/bugzilla/show_bug.cgi?id=63643

            Bug ID: 63643
           Summary: CSV Data Set Config won't read quoted UTF-8 with BOM
           Product: JMeter
           Version: 5.1.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: havlicek.ho...@gmail.com
  Target Milestone: JMETER_5.2

Created attachment 36705
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36705&action=edit
Test plan with a test CSV file

If a CSV is 

* encoded in UTF-8 and 
* has Byte Order Mark
* starts with a quoted field (e.g no header)
* Csv Data Set Config has Allow Quoted Data set to True

the parser will throw an exception and CSV file is not read.

2019-08-06 14:20:15,229 ERROR o.a.j.c.CSVDataSet: java.io.IOException: Cannot
have quote-char in plain field:["]

Expected behavior: BOM should be ignored and CSV should be read.

I have attached a simple example where a CSV file with BOM fails and second one
that passes.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to