I'm trying to create a test with JMeter to log in many users and test a website. Each user has a username, a password, and a special id number. The associated id number needs to go into the URL for some requests from that user.
I had thought that I could create a CSV file to read these variables, like this:
username,password,id
username2,password2,id2
username3,password3,id3
However, that doesn't seem to work. I put the CSV Data Set Config
element directly under the Test Plan
because I want each line to be a thread (each thread representing a separate user who is making several requests). I also tried moving it to be a child of the Thread Group
. The username and password seem to be working alright (they are in the first request, to log in), but I am getting <EOF>
in requests where I reference the id. Where have I gone wrong?
I am currently only trying this with one user to get it working. There are no extra line feed characters, the csv file consists only of a single line, two commas, letters and numbers, no spaces. I'd already checked that because I found someone with an <EOF>
problem who said they'd been getting it for that reason.