Class DslConstantTimer
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
-
- us.abstracta.jmeter.javadsl.core.timers.BaseTimer
-
- us.abstracta.jmeter.javadsl.core.timers.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDslConstantTimer.CodeBuilder
-
Field Summary
Fields Modifier and Type Field Description protected Stringduration-
Fields inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
guiClass, name
-
-
Constructor Summary
Constructors Constructor Description DslConstantTimer(String duration)DslConstantTimer(Duration duration)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.jmeter.testelement.TestElementbuildTestElement()-
Methods inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
buildConfiguredTestElement, buildTestElementGui, buildTreeUnder, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGui
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface us.abstracta.jmeter.javadsl.core.DslTestElement
buildTreeUnder, showInGui
-
-
-
-
Field Detail
-
duration
protected String duration
-
-
Constructor Detail
-
DslConstantTimer
public DslConstantTimer(String duration)
-
DslConstantTimer
@Deprecated public DslConstantTimer(Duration duration)
Deprecated.
-
-
Method Detail
-
buildTestElement
protected org.apache.jmeter.testelement.TestElement buildTestElement()
- Specified by:
buildTestElementin classBaseTestElement
-
-