How to assign data for each Vuser in Controller
Need help with parameterisation for Controller.
what seetings should i do if i want the each Vuser to use different data when running the scenario in Controller for Loadtest. I am using Loadrunner 12.5 .
Use the "Unique Method"
- If you specify update on "Each iteration", for a test run of 3 iterations, the first Vuser takes Kim in the first iteration, David in the second, and Michael in the third. The second Vuser takes Jane, Ron, and Alice. The third Vuser, Ken, Julie, and Fred.
- If you specify update on "Each occurrence", then the Vuser uses a unique value from the list for each occurrence of the parameter.
- If you specify update "Once", the first Vuser takes Kim for all iterations, the second Vuser takes David for all iterations, and so on.
The details for the Parameters options you need are here.
"Data Assignment and Update Methods for File/Table/ XML Parameters" at http://lrhelp.saas.hpe.com/en/12.50/help/WebHelp/Content/VuGen/114400_c_data_asgn_update_meth_f.htm
Also remember, when you use Uniqe, all the data is divided among the vusers in the group, by the controller. Either automatically or the number each selected by the "block-size".
So if you have 5 vusers in your group and the parameter have 100 lines, vuser 1 will get line 1-20 vuser 2 will get 21-30 and so on...
Please mark post as solved if your problems or questions is/are resolved.
If this post was valuable to you, please consider kudo it.
Thanks for the reply.
But let me give you the steps of what i am doing.
Step1; Create script in the Vuser. It is a web application . I created script for " Created benefits"
Step2; Parameterised the "Patient iD and Policy ID"
Step 3: Entered 4 Patient ids and policy id s in the parameter list . The iterations settings are " One'
Step 4: I want to use the 4 patients DATA for each 4 Vuser in the controller at the same time.
Step5: see the below settings what i did in the atached screenshot.
Step: So do you think i am using the correct settings
My Scenario: I should create a scenario with one time login and create benefits for all the 10 patients with ramp up and ramp down settings as 2 Vusers for every 15 seconds.( Need to use specific policy id for specific patients- so i selected option as same line as "patient id'
First, Policy_ID is just as it shoould be, connected to Patient.
Secondly the main challenge.
Using "Unique", "Continue with last value" and a blocksize of "1" will fit your purposes as I understand it.
All vUsers will get 1 value of the testdata and will keep it through all iterations. You just need that there is at least the same number of rows in the testdata as there is vusers.