Thank you very much Deepak... it's the solution.

regards
Jordi


2009/12/14 Deepak Shetty <[email protected]>

> Ah ok, add a dummy sampler like a TestAction sampler (and you can probably
> delay it directly here or set it to 0 and add the constant timer as a child
> of the Test Action sampler)
>
>
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Test_Action
>
> regards
> deepak
>
> On Mon, Dec 14, 2009 at 10:29 AM, jordi garcia <[email protected]>
> wrote:
>
> > I'm sorry deepak,
> >
> > I would like to execute the next workflow:
> >
> > 25 http requests (reading from file)
> > sleep 5 seconds
> > 25 http requests more
> > sleep 5 seconds
> > ...
> >
> > The data set file has 43000 URIs and I pass all them to sampler using
> > jmeter
> > variable. It works fine If I configured
> > threat loop forever and set loop controller count to 43000. But I need to
> > sleep/stop/delay threat process some
> > seconds every 25 requests.
> >
> >
> > Thanks in advance
> > Jordi
> >
> > 2009/12/14 Deepak Shetty <[email protected]>
> >
> > > Hi
> > > Again Im not sure I under stand you correctly, in the test you have 1
> > > sampler that is executed  X times (based on CSV file)
> > > and you want a delay between requests (equal to the value you specified
> > on
> > > the constant timer)  correct?
> > > In which case having the timer as child of the loop controller does
> work
> > in
> > > the sense that requests within a thread will be delayed by the value
> > > specified(you can try it out). However if you have N threads , then the
> > > delay does not apply for requests thats are made in parallel. If you
> > added
> > > a
> > > View Results Tree listener, what is the behavior you are observing?
> > >
> > >
> > > regards
> > > deepak
> > >
> > > On Mon, Dec 14, 2009 at 9:30 AM, jordi garcia <[email protected]>
> > wrote:
> > >
> > > > Doesn't work.
> > > >
> > > > I read from JMeter documentation:
> > > >
> > > > "Timers are only processed in conjunction with a sampler."
> > > >
> > > > But I need to execute X samplers. Is there a workaround/solution?
> > > >
> > > >
> > > > Kind regards
> > > > Jordi
> > > >
> > > > 2009/12/14 Deepak Shetty <[email protected]>
> > > >
> > > > > Im not sure I understand your question, do you want a delay between
> > > each
> > > > of
> > > > > the X requests? if so just add the timer as child of the loop
> > > controller.
> > > > >
> > > > > On Mon, Dec 14, 2009 at 9:10 AM, jordi garcia <[email protected]
> >
> > > > wrote:
> > > > >
> > > > > > Hello there,
> > > > > >
> > > > > > I would like to do this planning test:
> > > > > >
> > > > > > · N threads (forever test)
> > > > > >  - X requests (HTTP Sampler) from CSV datafile URIs (CSV Data Set
> > > > Config)
> > > > > > with Loop Controller
> > > > > >  - sleep Y seconds (Constant timer)
> > > > > >
> > > > > > How can I configure X requests before to execute the constant
> timer
> > > > item
> > > > > (Y
> > > > > > seconds)?
> > > > > >
> > > > > >
> > > > > > Thanks in advance
> > > > > > Jordi
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > "La noción de no formar parte de algo, la idea de no estar incluido
> en
> > > > ningún proyecto y entender que a nadie le importamos lo suficiente
> como
> > > > para
> > > > pertenecer a su mundo.." - la soledad
> > > >
> > >
> >
> >
> >
> > --
> > "La noción de no formar parte de algo, la idea de no estar incluido en
> > ningún proyecto y entender que a nadie le importamos lo suficiente como
> > para
> > pertenecer a su mundo.." - la soledad
> >
>



-- 
"La noción de no formar parte de algo, la idea de no estar incluido en
ningún proyecto y entender que a nadie le importamos lo suficiente como para
pertenecer a su mundo.." - la soledad

Reply via email to