Class DslTeardownThreadGroup
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
-
- us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer<T,BaseThreadGroup.ThreadGroupChild>
-
- us.abstracta.jmeter.javadsl.core.threadgroups.BaseThreadGroup<T>
-
- us.abstracta.jmeter.javadsl.core.threadgroups.DslSimpleThreadGroup<DslTeardownThreadGroup>
-
- us.abstracta.jmeter.javadsl.core.threadgroups.DslTeardownThreadGroup
-
- All Implemented Interfaces:
DslTestElement,DslTestPlan.TestPlanChild,DslThreadGroup
public class DslTeardownThreadGroup extends DslSimpleThreadGroup<DslTeardownThreadGroup>
A thread group that allows running any logic after any other thread group.Usually this thread group is used to do some clean up in target environment, leave it in a predefined state, or to use some information obtained from the rest of the test.
Take into consideration when using information from other thread groups that jmeter variables (which are thread scoped) created or updated in other thread groups are not visible in this thread group. One way of passing information from one thread group to others can be JMeter Properties, or files. But use them with care, taking into consideration potentially parallel execution of threads in same thread group (or other thread groups).
Also consider that if you add multiple teardown thread groups in a plan, they will run in parallel, after "regular" thread groups.
By default, the thread group will be configured with 1 thread and 1 iteration. You can change this with provided methods.
- Since:
- 0.33
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDslTeardownThreadGroup.CodeBuilder-
Nested classes/interfaces inherited from class us.abstracta.jmeter.javadsl.core.threadgroups.DslSimpleThreadGroup
DslSimpleThreadGroup.SimpleThreadGroupCodeBuilder<T extends org.apache.jmeter.testelement.TestElement>
-
Nested classes/interfaces inherited from class us.abstracta.jmeter.javadsl.core.threadgroups.BaseThreadGroup
BaseThreadGroup.SampleErrorAction, BaseThreadGroup.ThreadGroupChild
-
-
Field Summary
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.threadgroups.DslSimpleThreadGroup
iterations, threadCount
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.threadgroups.BaseThreadGroup
sampleErrorAction
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer
children
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
guiClass, name
-
-
Constructor Summary
Constructors Constructor Description DslTeardownThreadGroup(String name, List<BaseThreadGroup.ThreadGroupChild> children)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.jmeter.threads.AbstractThreadGroupbuildSimpleThreadGroup()-
Methods inherited from class us.abstracta.jmeter.javadsl.core.threadgroups.DslSimpleThreadGroup
buildThreadGroup, children, iterations, threadCount
-
Methods inherited from class us.abstracta.jmeter.javadsl.core.threadgroups.BaseThreadGroup
buildLoadTimeline, buildTestElement, sampleErrorAction
-
Methods inherited from class us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer
buildTreeUnder
-
Methods inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
buildConfiguredTestElement, buildTestElementGui, 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
-
-
-
-
Constructor Detail
-
DslTeardownThreadGroup
public DslTeardownThreadGroup(String name, List<BaseThreadGroup.ThreadGroupChild> children)
-
-
Method Detail
-
buildSimpleThreadGroup
protected org.apache.jmeter.threads.AbstractThreadGroup buildSimpleThreadGroup()
- Specified by:
buildSimpleThreadGroupin classDslSimpleThreadGroup<DslTeardownThreadGroup>
-
-