ajith siva
ajith siva

Reputation: 57

unable to add multiple users in Jmeter - tried with CSV still failing

I have CSV file with added in the CSV Data Set Config,

please click the url to see the image

CSV file content

EMAIL,USERNAME,FIRSTNAME,LASTNAME,PASSWORD
pfuser2@pfuser.com,pfuser2,PF,User,test1234
pfuser3@pfuser.com,pfuser3,PF,User,test1234
pfuser4@pfuser.com,pfuser4,PF,User,testt1234
pfuser5@pfuser.com,pfuser5,PF,User,testt1234

passing the above values to post request as below

click the link to see the image

the request data is simply passed has parameter names ,instead of values please see the below sample request

email=%24%28EMAIL%29&user_name=%24%28USERNAME%29&first_name=%24%28FIRSTNAME%29&last_name=%24%28LASTNAME%29&password=%24%28PASSWORD%29

Upvotes: 0

Views: 37

Answers (1)

Dmitri T
Dmitri T

Reputation: 168157

  • Either set Ignore first line to True

    enter image description here

  • or set it to False and remove everything from the "Variable Names" section, this way JMeter will use the values from "headings" as the variable names.

You can see all JMeter Variables with their respective values using Debug Sampler and View Results Tree listener combination.

Also it worth checking jmeter.log file for any suspicious entries.

Upvotes: 0

Related Questions