public class ParallelController extends BaseController
childrenguiClass, name| Constructor and Description |
|---|
ParallelController(String name,
List<BaseThreadGroup.ThreadGroupChild> children) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jmeter.testelement.TestElement |
buildTestElement() |
ParallelController |
children(BaseThreadGroup.ThreadGroupChild... children)
Allows specifying controller children elements (samplers, listeners, post processors, etc.).
|
ParallelController |
generateParentSample(boolean generateParent)
Specifies whether or not to generate a sample result containing children elements results as
sub results.
|
ParallelController |
maxThreads(int maxThreads)
Allows limiting the number of threads used to execute children elements in parallel.
|
static ParallelController |
parallelController()
Same as
#parallelController(ThreadGroupChild...) but postponing children specification
to allow specifying additional settings first. |
static ParallelController |
parallelController(BaseThreadGroup.ThreadGroupChild... children)
Builds a Parallel Controller executing the given children elements in parallel.
|
static ParallelController |
parallelController(String name)
Same as
#parallelController(String, ThreadGroupChild...) but postponing children
specification to allow specifying additional settings first. |
static ParallelController |
parallelController(String name,
BaseThreadGroup.ThreadGroupChild... children)
Same as
#parallelController(ThreadGroupChild...) but allowing to set a name on
controller. |
addChildren, buildTreeUnderbuildConfiguredTestElement, buildTestElementGui, configureTestElement, durationToSeconds, getGuiClass, getName, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildTreeUnder, showInGuipublic ParallelController(String name, List<BaseThreadGroup.ThreadGroupChild> children)
public static ParallelController parallelController(BaseThreadGroup.ThreadGroupChild... children)
children - test elements to execute in parallel.public static ParallelController parallelController(String name, BaseThreadGroup.ThreadGroupChild... children)
#parallelController(ThreadGroupChild...) but allowing to set a name on
controller.
Setting the name of the controller is particularly useful when using generateParentSample(boolean) to focus on transaction steps and properly identify associated
metrics.name - is the label assigned to the Parallel Controller, which will appear in collected
metrics when generateParentSample(boolean) is used.children - test elements to execute in parallel.#parallelController(ThreadGroupChild...)public static ParallelController parallelController()
#parallelController(ThreadGroupChild...) but postponing children specification
to allow specifying additional settings first.#parallelController(ThreadGroupChild...)public static ParallelController parallelController(String name)
#parallelController(String, ThreadGroupChild...) but postponing children
specification to allow specifying additional settings first.#parallelController(String, ThreadGroupChild...)public ParallelController generateParentSample(boolean generateParent)
generateParent - when set to true a sample result containing children elements results as
sub results will be generated. Thispublic ParallelController maxThreads(int maxThreads)
maxThreads - number of threads to use. When not specified, no limit is set.public ParallelController children(BaseThreadGroup.ThreadGroupChild... children)
children - list of test elements to add as children of the controller.protected org.apache.jmeter.testelement.TestElement buildTestElement()
buildTestElement in class BaseTestElementCopyright © 2022. All rights reserved.