Class DslConstantTimer

  • All Implemented Interfaces:
    DslTestElement, DslTestPlan.TestPlanChild, BaseSampler.SamplerChild, MultiLevelTestElement, BaseThreadGroup.ThreadGroupChild, DslTimer

    public class DslConstantTimer
    extends BaseTimer
    Allows using JMeter Constant Timers which pause the thread for a given period.

    The pause calculated by the timer will be applied after samplers pre-processors execution and before actual sampling.

    Take into consideration that timers applies to all samplers in their scope: if added at test plan level, it will apply to all samplers in test plan; if added at thread group level, it will apply only to samples in such thread group; if added as child of a sampler, it will only apply to that sampler.

    Since:
    0.62
    • Field Detail

      • duration

        protected String duration
    • Constructor Detail

      • DslConstantTimer

        public DslConstantTimer​(String duration)