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).
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.
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.
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?
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.
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?