I need to source values for substitution from a csv file in the following manner :-
For Every User:-
List of departments applicable for each user under organization id.
DeptId, DeptName, DeptDesc
List of employees applicable for the Organization.
EmpId, EmpName, DeptId
I need to substitute the list of parameters into a soap request.
I have tested by creating csv file for list of user's for the credentials, but wanted to know how to handle a list of values for each user. How can we define the variable and choose the value change policy ?
I'm not sure to fully understand your goal. The change policy of your variable will depend on how you designed your script.
Basically, if your transactions are under Actions container, you should use "on each iteration" change policy.
That means that on each iteration a new row of your CSV file will be used. If your scope is "Global/Sequential" then your users will get from the controller the next available row.
I hope that those information will help you.
@Nouredine, I want to run a 10 user constant load test. For each user i need the data mentioned above. The user credentials can fit in a row but the data which i need to send in SOAP request for each user are collections or list of data and not individual ones.
DeptDesc: "Human Resource"
DeptDesc: "Research & Dev"
Please let me know if you need more details.