I use a JDBC request in a Setup Thread group to get username and password used in my test. The username/password are written in a temporary file using "Save Responses to a file" component then read via "CSV Data Set Config" component. Headers of the query are written in the first line of the created file.T There is no flag to instruct CVS Data Set Config component to skip the header line. Nor is possible to prevent to write the header on the results.
I saw this bug and I marked this as duplicate. But I didn't understand where I can specify this option! *** This bug has been marked as a duplicate of bug 49666 ***
If no variables name are specified the header name of the first line are used! From docs: "Versions of JMeter after 2.3.4 support CSV files which have a header line defining the column names. To enable this, leave the "Variable Names" field empty. The correct delimiter must be provided."
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3026