I have a JMeter script that needs multiple simultaneous users to log in, then each user loops through a number of customer setup actions. Each setup action requires a separate set of input values (customer id, customer email, customer phone). Note, these are different from the login credentials. The customer setup values cannot be re-used within a thread or across threads.
My script has a single thread group and within the thread group, I have a loop for that user to enter multiple customer setups. Here is my question: I know I can use the CSV Data Set to give each thread group (user) its own login credentials. How do I set up and access and external file to get the customer credentials (ID, email, phone) for the loop that sets up customers within a thread? In other words, I need to cycle through a set of customer credentials WITHIN a single thread group. I don't think I can use a CSV Data Set for this because those are controlled by threads. Can I set up a separate CSV Data Set for the looping within a single thread? Can I append a loop counter onto a variable name and have all looped values for a thread in the single CSV file after the login credentials? (login, password, custID1, custemail1, custphon1, custID2, custemail2, custphon2, etc) Is this something I would use CSVRead function for? Set up a second CSV file with unique customer credentials on each line, then let all thread loops just access the next line for user creds? Is there another way to do this? Thanks. Geoff Endris
