Vusers- 10, Files -250 ,Duration - 3600

Target is to upload 250 Files and file names is Payroll0, Payroll1 ,Payroll2, Payroll3,....Payroll247, Payroll248,Payroll249, Payroll250.

Using JMeter Selenium for web based application so every Vuser should pick different file. Ex:-" User1 ---->Payroll1,User2------>Payroll2,User3------>Payroll3,User4------>Payroll4......" So written the groovy scripting like this enter image description here enter image description hereenter image description hereenter image description hereenter image description here

But User1 ---->Payroll1,User2------>Payroll2,User3------>Payroll3,User4------>Payroll4....User9----->Payroll9, User10---->Payroll10 and every user is picking like this and while every user after completion of iteration it is picking the same file.

Followed this URL but still no luck for me Every Vuser should pick different file name.

Target is to select Unique Each Iteration I mean every vusers should pick new file for every iteartion.

Could anyone please help me

1 Answer 1


In order to comprehensively help we need to see your:

  1. CSV files in text form, not in the form of screenshots
  2. Your WebDriver Sampler configuration
  3. Debug PostProcessor output for first 2 iterations

In general it looks like your script can be simplified, for example instead of name1.csv you could use a Counter or even replace everything but the WebDriver Sampler with a single Directory Listing Config

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.