user1159986
user1159986

Reputation: 11

Jmeter CSV data config doesn't identify the userid and password in csv file

I have created a CSV file and placed in /bin directory and added csv data config file with paramaters UID and PWD but when I run the test it does not show the user id and password. Despite, in the csv file it shows as txtlogin=<EOF>&txtpassword=<EOF>.

Why isn't it picking the given userids and password?

Upvotes: 1

Views: 4768

Answers (6)

Josh P
Josh P

Reputation: 1355

I was getting in my variable values when I had ./mycsvfile.csv as the path. I took the ./ off the front and it started working. My csv file is in the same directory as my .jmx test script file.

Upvotes: 0

Aditi
Aditi

Reputation: 69

Make sure you have put your CSV file in parallel of your saved result file, I have solved my problem with this while getting EOF error. :)

Upvotes: 1

Kobe Wild
Kobe Wild

Reputation: 9

I just ran into the same issues. It seems to be a bug. Don't name your .csv file "user.csv" or "users.csv". They seem to be reserved names.

I changed the name of the file and then it worked.

Upvotes: -1

Gabe Mullen
Gabe Mullen

Reputation: 16

Make sure you have the fully qualified path of the CSV file to ensure JMeter can find it.

Upvotes: 0

PyiSoeMaw
PyiSoeMaw

Reputation: 145

You should place your csv file where you saved your test script file. Normally test script can be saved as with jmx extension and placed your csv file in the same directory of it.

Upvotes: 1

Aliaksandr Belik
Aliaksandr Belik

Reputation: 12873

See this how to read and refer variables from csv.

And look into %JMETER_HOME%/bin/jmeter.log if something goes wrong.

Upvotes: 0

Related Questions