Yes,
this is by design, Timers in scope of Sampler are run before sampler.
In your case, the Constant Timer is not in scope of any Sampler so it does
not lead to any pause.

Put it as child of Test Action with Sleep set to 0 is the best option, this
way the pause will be executed at the exact place where the Test Action is
located.
If you pause is the same before every sampler, then put it at same level as
Debug Sampler.

http://jmeter.apache.org/usermanual/component_reference.html#timers
http://jmeter.apache.org/usermanual/test_plan.html#scoping_rules

Regards
@ubikloadpack

On Tue, Jul 7, 2015 at 4:52 PM, Deepak Shetty <[email protected]> wrote:

> I believe you need atleast one sampler under your controller (perhaps the
> test action) - and i believe it has always behaved this way.
>
> On Mon, Jul 6, 2015 at 9:34 PM, Oliver Erlewein <[email protected]>
> wrote:
>
> > Hi,
> >
> > I just had a weird issue here on JMeter 2.11 & 2.12 (reproduced on 3
> > different machines all Linux).
> >
> > I have the following script:
> >
> > Test Plan
> >   -Thread Group
> >      -Simple Controller
> >          -Constant Timer 1000ms
> >      -Debug Sampler
> >
> > And put in some listeners of choice.
> >
> > The thing I see is that the Constant Timer is ignored completely (all
> other
> > timers act the same). If I pull the constant timer on to the same level
> as
> > the Debug Sampler it works. If I put it Under the Debug Controller it
> > works.
> >
> > Can anyone reproduce? I could have sworn that worked before or am I just
> > going crazy at my old age?
> >
> > Cheers Oliver
> >
>



-- 

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>

Reply via email to