I am new to Jmeter and trying to carry out the following flows:
- User Login with username and password
- Page 1 is displayed with 10 invoices - User select ten invoices - 10 ajax call is executed (invoice1, invoice2,invoice3.. json file is generated with invoices as request)
- Page 2 is displayed to view invoices
- User log out
I have recorded the flow with blazemeter plugin on chrome.
The thread group in Jmeter has the following tasks:
- I have 10 users in a file called users.txt and i am using CSV Data set config to load them.
- For each user I will load only 10 invoices from invoices.txt using CSV Data set config to load them.
- Since I have 10 users and each user needs 10 invoices, my invoices.txt has 100 unique invoices.
Please find csv config for invoice below:
The problem is that I need each user to be assigned with 10 unique invoices and those 10 invoices cannot be allocated to another user.
Any idea how I can load 10 unique invoices for each user and make sure those invoices are not assigned again to another user?