Search code examples
csvvariablesjmeter

I have recorded a script in Jmeter and want to parameterize the variables (username,password)


I have set up Csv Data set Config and point to the csv file, when i run the test I am unable to see the data set for this variable, rather I am seeing an encrypted for username and password just showing as variables names and can not see the data being pulled from the csv file.

CSV Data Set

username

encrypted value

password showing as variable

I was expecting to see different username and password being used for different thread user.


Solution

  • Are you sure your LoadUsers.csv file is a real CSV file and not a binary file originating form MS Excel or equivalent?

    Try opening it using a text editor like Notepad and make sure that it looks like:

    username1,password1
    username2,password2
    username3,password3
    etc.
    

    The file has to be text-based one, otherwise CSV Data Set Config won't work.

    Also double check Sharing Mode of your CSV Data Set Config as with non-default value you might get non-expected behaviour.