I have a requirement to run 2000 users for 1 hr and i have 20 real users in my csv file, so how can i run it so after every 20 users, if will again run those 20 users in a loop till 2000 users running completion.
Given default Sharing Mode of All Threads
in the CSV Data Set Config JMeter will read the next line on each iteration of each virtual user.
So just make sure that:
Recycle on EOF is set to True
and Stop thread on EOF is set to False
The number of users multiplied by the Loop Count in the Thread Group is equal to 2000
In general ideally if you need to mimic 2000 users you should have 2000 credentials so it worth checking whether it's possible to generate 1980 more test accounts.