This is a follow-on to the "Logging in With Multiple Accounts Using a CSV File" question posted by Raghavender B. Attached are the missing attachments in the interest of time & since Raghavender works after normal business hours. These were requested by Nouredine A. Perhaps there is something not set up properly on the Variables Declaration screen.
You made a mistake in your variable configuration. I guess your login and password are 210/210 and 211/211 rights? Your column separator is comma in your CSV file whereas it is semi-colon in your variable configuration.
Make the change in NeoLoad by using comma et you should see two columnsĀ as result in your variable configuration (col_0 and col_1).
Hello Nouredine,
The user logins defined in the CSV file are not being read, I mean the login variable that is not replaced by the login values.
The login and password are 210/210 and 211/211.
I have changed the variable configuration, the column separator to comma and I see two columns in my variable configuration. Attached the screen capture of the variable configuration.
The variable is under Init container, based on this I have set the change policy to "For each Virtual User". Attached the screen capture of the variable configuration.
But still when I run the load test, the logins defined in the CSV file are not being read. Attached the screen capture of the Runtime Users of the load test.
Please advise.
Thanks.
You did the right thing but you are not looking the result at the right place. Your virtual user profile name contains the login name but it won't change during the runtime. It will only change on the request itself.
So I would suggest you to run a "Check virtual user" and check the content of your login request to see the credential that is used.
Hello Nouredine,
I have ran a "Check virtual user" and checked the content of our login request to see the credential that is used.
It showed the 210/210 user login credential which is the first record of the CSV file. Attached the screen capture for your reference.
There are 2 records in the CSV file, will it only show the first record during the "Check virtual user" process and during the actual load will it consider all the login credentials defined in the CSV file?
Please advise.
Thanks.
Yes it is expected. A user validation only starts one user. If you run a test with two concurrent users, both credentials from your list will be used. If you would like to run more users with different credentials, you will have to add more credentials in your CSV file.
Thanks a lot Nouredine. This seems our issue with the "Multiple Accounts Using a CSV File" has been resolved.
I too hit the "amusing" Neoload idea, of the default separator in a CSV (COMMA Separated Variable) file is a semi-colon. I've now started calling them "SCSV" files. Interested to know any reason for this non-standard feature?
Andy answered
Raghavender answered
Nouredine answered
Raghavender answered
Raghavender answered
Nouredine answered
Raghavender answered
Raghavender answered
Nouredine answered
Vicky posted a new question
Vicky posted a new question