T - is the type of the thread group. Used for proper contract definition of fluent builder
methods.public abstract class BaseThreadGroup<T extends BaseThreadGroup<T>> extends TestElementContainer<T,BaseThreadGroup.ThreadGroupChild> implements DslThreadGroup
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseThreadGroup.SampleErrorAction
Specifies an action to be taken by thread group when a sample error is detected.
|
static interface |
BaseThreadGroup.ThreadGroupChild
Test elements that can be added as direct children of a thread group in jmeter should implement
this interface.
|
| Modifier and Type | Field and Description |
|---|---|
protected BaseThreadGroup.SampleErrorAction |
sampleErrorAction |
childrenguiClass, name| Modifier | Constructor and Description |
|---|---|
protected |
BaseThreadGroup(String name,
Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass,
List<BaseThreadGroup.ThreadGroupChild> children) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jmeter.testelement.TestElement |
buildTestElement() |
protected abstract org.apache.jmeter.threads.AbstractThreadGroup |
buildThreadGroup() |
T |
children(BaseThreadGroup.ThreadGroupChild... children)
Allows specifying thread group children elements (samplers, listeners, post processors, etc.).
|
T |
sampleErrorAction(BaseThreadGroup.SampleErrorAction sampleErrorAction)
Specifies what action to be taken when a sample error is detected.
|
buildTreeUnderbuildConfiguredTestElement, buildTestElementGui, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildTreeUnder, showInGuiprotected BaseThreadGroup.SampleErrorAction sampleErrorAction
protected BaseThreadGroup(String name, Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass, List<BaseThreadGroup.ThreadGroupChild> children)
public T sampleErrorAction(BaseThreadGroup.SampleErrorAction sampleErrorAction)
sampleErrorAction - specifies the action to be taken on sample error. By default, thread
groups just ignores the error and continue with following sample in
children elements.BaseThreadGroup.SampleErrorActionpublic T children(BaseThreadGroup.ThreadGroupChild... children)
children in class TestElementContainer<T extends BaseThreadGroup<T>,BaseThreadGroup.ThreadGroupChild>children - list of test elements to add as children of the thread group.protected org.apache.jmeter.testelement.TestElement buildTestElement()
buildTestElement in class BaseTestElementprotected abstract org.apache.jmeter.threads.AbstractThreadGroup buildThreadGroup()
Copyright © 2023. All rights reserved.