Iteration vs. Parameter Table
I would appreciate if somebody could clarify this for me:
I have a VuGen script with 5 iterations in action. The workflow is:
- vsuer init: login
- action: do things
- vuser end: logout
I want this to iterate 5 times in action. Meanwhile, i want 20 concurrent users doing this, each one looping throught their own "5 rows of data".
I have parameter table, each row contains a pair of userid/password, and other data.
How to make sure that each user loops on their own "5 rows of data"? I want to avoid the situation that two users trying to access the same record.
look at the unique setting in the parameter options
If you do the login - where you use the parameters for userid and password - in the init block of the script, there will be no iteration and no usage of different parametes. The iteration in the script only happens in the action block. So if you want to use 5 separate login ids you need to perform the login in the action section.
Thomas I think you've misunderstood the query
the OP wants to have 20 users log in and for each of those 20 users the OP wants them to each have 5 iterations in the action, each iteration using a different data set
2 ways to do it
Unique parameters by user (which will work but needs some messing with to get exactly what the OP want's)
relate the data in the user file with the data in the iteration file
data file looks something like
then look through the iteration data file until userid = userid and iteration = iteration