Hi Tong,

"
However, I put only one such Think Time but *every *single request is
   now delayed, because it is actually *at the thread group level*.
"

What element(s) are you using to simulate Think Time? You can not just use 
Timer elements on their own.

"
   - I.e., if a]] single click of "submit" contains several requests, I want
   those requests executed without any delay, but only do Think Time after
   all those requests are done.
"

All of those requests should be in a Transaction Controller, and then after 
that there should be a Flow Control Action 
(https://jmeter.apache.org/usermanual/component_reference.html#Flow_Control_Action)
 with a Timer (e.g. 
https://jmeter.apache.org/usermanual/component_reference.html#Uniform_Random_Timer)
 element inside. You can right click the Thread Group or a Controller and 
select "Add think time to children" to generate this for you. Then 
duplicate/move the Flow Control Action(s) to where they need to go (i.e. 
outside of/before/after the transaction controller). Ensure you've provided 
correct values for Random Delay Maximum and Constant Delay Offset

Thanks,
Malachi

________________________________
From: Tong Sun <suntong...@gmail.com>
Sent: Saturday, July 2, 2022 4:58 AM
To: JMeter Users List <user@jmeter.apache.org>
Subject: Re: Simulate Think Time

Hi,

Found a problem applying simulated Think Time --


   - I don't want the simulated Think Time be calculated/included in my
   response time
   - So I put it after my request, not under it
   - However, I put only one such Think Time but *every *single request is
   now delayed, because it is actually *at the thread group level*.
   - That in turn caused a bigger problem for me, as I only want Think Time
   delay *after *each of my *transactions*, but not the requests
*within  *those
   transactions.
   - I.e., if a single click of "submit" contains several requests, I want
   those requests executed without any delay, but only do Think Time after
   all those requests are done.

How to achieve all of the above please?


On Sun, Jun 5, 2022 at 12:15 PM Deepak Goel wrote:

> *Uniform Random Timer*
>
> Deepak...
>
> On Sun, Jun 5, 2022 at 8:25 PM Tong Sun wrote:
>
> > What's the best way to simulate Think Time?
> >
> > Say I need a random wait time between 2~8 seconds between each of my
> > transactions, what's the best control to do that?
> >
> > Thanks!
> >
>

Reply via email to