Reputation: 27
I have five different HTTP requests I require each thread to make. All five requests need to be made by the same thread in a given order, and ideally I'd like to set an average time between each request.
How can I do this in JMeter?
Upvotes: 0
Views: 421
Reputation: 168072
By default JMeter threads (virtual users) execute Samplers upside down so you basically can define the execution order by manipulating the order of Samplers under the Thread Group
If you want to introduce a fixed delay between requests add a Constant Timer at the same level as the requests
above configuration will result in adding a 5 seconds delay before each request. Also delay doesn't have to be fixed, you can use i.e. Uniform Random Timer or Gaussian Random Timer to closer simulate real users behavior as different users act at different speed therefore have different "think times". Check out A Comprehensive Guide to Using JMeter Timers article for more information on the Timers concept and detailed information on each and every timer available in JMeter.
Upvotes: 1