you can delay requests within a thread by using some of the timers (for e.g.
Constant Timer - where the input is a variable calculated as the time you
want to delay - the time the last sample took).
However since you also have multiple requests at the same time - thats not
easy to do (unless these urls are part of the same page in which case it
might be possible to use the 2.5 feature of retrieving embedded requests)
Plus you have additional problems of what happens if the first request takes
more than one second? Is the next request still made?

But like Oliver mentioned you seem to have this as a solution for a problem
, and perhaps it may be more useful to describe what you want to do - maybe
there are other options

regards
deepak

On Sat, Sep 24, 2011 at 5:16 AM, Jian-Ming Zheng <jmzh...@gmail.com> wrote:

> Hi,
>
> Thanks for the reply.
>
> I have used the Constant Throughput Timer to control the number of
> requests generated per minute. However, the function does not meet my
> need. Let me explain it in more detail :)
>
> For example, I have 10 requests for the testing Web server (i.e.,
> requests 1, 2, …, 10). I want to generate the 10 requests as follows.
> [time] [requests]
> 1 s: requests 1 and 2
> 2 s: request 3
> 3 s: request 4
> 4 s: requests 5, 6, and 7
> 5 s: request 8
> 6 s: requests 9 and 10
>
> The number of requests generated per time interval is not constant. To
> control the sequence of requests, I would like to generate a trace
> file consisting of requests with the specified times. Can JMeter read
> the file and generate requests at specified times according to the
> trace?
>
> Thanks for any replies.
>
> On Sat, Sep 24, 2011 at 6:58 PM, Oliver Lloyd <oliver_ll...@hotmail.com>
> wrote:
> > Are you talking about pacing these requests? If so, try the
> >
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Throughput_Timer
> > Constant Throughput Timer .
> >
> > -----
> > http://www.http503.com/
> > --
> > View this message in context:
> http://jmeter.512774.n5.nabble.com/Generate-requests-at-specified-time-tp4836359p4836368.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
> >
> >
>
>
>
> --
> Best Regards,
> Zheng Jian-Ming a.k.a. zjm
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

Reply via email to