public class DslTransactionController extends BaseController<DslTransactionController>
This is usually used when grouping different steps of a flow, for example group requests of login flow, adding item to cart, purchase, etc. It provides aggregate metrics of all it's samples.
| Modifier and Type | Class and Description |
|---|---|
static class |
DslTransactionController.CodeBuilder |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
generateParentSample |
protected boolean |
includeTimers |
childrenguiClass, name| Constructor and Description |
|---|
DslTransactionController(String name,
List<BaseThreadGroup.ThreadGroupChild> children) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jmeter.testelement.TestElement |
buildTestElement() |
DslTransactionController |
generateParentSample()
Specifies to create a sample result as parent of children samplers.
|
DslTransactionController |
generateParentSample(boolean enable)
Same as
generateParentSample() but allowing to enable or disable it. |
DslTransactionController |
includeTimersAndProcessorsTime()
Specifies to include time spent in timers and pre- and post-processors in sample results.
|
DslTransactionController |
includeTimersAndProcessorsTime(boolean enable)
Same as
includeTimersAndProcessorsTime() but allowing to enable or disable it. |
childrenbuildTreeUnderbuildConfiguredTestElement, buildTestElementGui, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildTreeUnder, showInGuiprotected boolean includeTimers
protected boolean generateParentSample
public DslTransactionController(String name, List<BaseThreadGroup.ThreadGroupChild> children)
public DslTransactionController includeTimersAndProcessorsTime()
public DslTransactionController includeTimersAndProcessorsTime(boolean enable)
includeTimersAndProcessorsTime() but allowing to enable or disable it.
This is helpful when the resolution is taken at runtime.
enable - specifies to enable or disable the setting. By default, it is set to false.includeTimersAndProcessorsTime()public DslTransactionController generateParentSample()
It is useful in some scenarios to get transaction sample results as parent of children samplers to focus mainly in transactions and not be concerned about each particular request. Enabling parent sampler helps in this regard, only reporting the transactions in summary reports, and not the transaction children results.
public DslTransactionController generateParentSample(boolean enable)
generateParentSample() but allowing to enable or disable it.
This is helpful when the resolution is taken at runtime.
enable - specifies to enable or disable the setting. By default, it is set to false.generateParentSample()protected org.apache.jmeter.testelement.TestElement buildTestElement()
buildTestElement in class BaseTestElementCopyright © 2023. All rights reserved.