Options
Virtual users with different login values
AClarke0007
Posts: 2
Hi ,
I would like to know how to add username and passwords so I can have 10 virtual users logging in at the same time.
Step 1 - Edit the load
Step 2 - Change the State Info
Step 3 - Add Columns Username and password
How do i name the columns do they need to correspond to the script / Database etc
Do I need to manually edit the script . Could you please provide an example please.
I would like to know how to add username and passwords so I can have 10 virtual users logging in at the same time.
Step 1 - Edit the load
Step 2 - Change the State Info
Step 3 - Add Columns Username and password
How do i name the columns do they need to correspond to the script / Database etc
Do I need to manually edit the script . Could you please provide an example please.
This discussion has been closed.
Comments
You're almose done. Once you have set up the state information, you need to edit the test script to pull the proper values out of it using the Me.StateInformation.Get() method. The argument to the Get command is the column name of the state information that you had set up.
For instance, if you populate state information with a username column and a password column, you can retrieve that line of state information in the script and substitute that value for a hard coded value already in the script.