File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes How to take users dynamically from csv in jmeter?  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "How to take users dynamically from csv in jmeter?  " Watch "How to take users dynamically from csv in jmeter?  " New topic

How to take users dynamically from csv in jmeter?

madoori Kumar

Joined: Jun 11, 2009
Posts: 5
I have requirement as follows ...

The load what we need to have is something like 10 users start at same time, then 20 seconds break and 10 more users (different users) and so on.

For the first time, I can set
users: 10
ramp up period : 0
loop count: 1

how can I set next 10 users which I specified in CSV file after 20 seconds break?

Can anyone explain me the solution for this?

Thanks in advance.
sugan san
Ranch Hand

Joined: May 23, 2013
Posts: 47
You should use csvconfigelement and session handling mechanism.

Please visit the following URL:
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404

It sounds like you already worked out how to use CSV files to generate your users, but your real problem is you need some way of stepping the start ups - something that is common for stress testing (as opposed to load testing).

Within the JMeter Plugins add-on, there is a Stepping Thread Group. This should match your requirements.

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
It is sorta covered in the JavaRanch Style Guide.
subject: How to take users dynamically from csv in jmeter?
Similar Threads
How to write a query that takes more than 2 minutes to execute
CSV file structure Validation
Service Level Requirement
Jasper Report Very Slow In Internet Explorer