I am using the CSV data set config for login multiple users, but cannot read the parameter.
CSV data set config screenshot: Screenshot
Http request default page : Screenshot
login parameter screenshot : Screenshot
View result tree screenshot: Screenshot
I have done all above processes but not able to solve the problem.
Other screenshots are added in comment.
Can someone explain all process step by step.
-
Explain all process step by step. I am use the CSV data set config for login multiple users, but cannot read the parameter. Thread group screenshort : prntscr.com/8rh0ed CSV data set config screenshot : prntscr.com/8rh09c Http request default page : prntscr.com/8rh0my login parameter screenshot : prntscr.com/8rh002 View result tree screenshot : prntscr.com/8rh1dp I have done all above process but not solve the problem.Mayank Patle– Mayank Patle2015年10月15日 06:09:40 +00:00Commented Oct 15, 2015 at 6:09
-
Added the screenshots in the main question!demouser123– demouser1232015年10月15日 07:26:52 +00:00Commented Oct 15, 2015 at 7:26
2 Answers 2
You need to use ${email} instead of $(email) also for password. You can check details in previously answered question here.
-
Thank for you answer but this process is can not work. I have perform the process but same result produceMayank Patle– Mayank Patle2015年10月15日 06:54:57 +00:00Commented Oct 15, 2015 at 6:54
The issue which you are facing is because of the wrong usage of parameter syntax in your script. You have used login = $(email) and password = &(password)
which is wrong way of declaring and using CSV file parameters in JMeter. The correct syntax is ${parametername}
for using parameters in JMeter.
So use,
login = ${email}
password = ${password}
and your script will work fine, remember name of parameters is case sensitive. Go through this link for more details.