Class ThroughputControllerWrapper
- java.lang.Object
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicTestElementWrapper<T>
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicParentTestElementWrapper<T>
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractTestElementWrapper<T>
-
- org.anasoid.jmc.core.wrapper.jmeter.control.GenericControllerWrapper<org.apache.jmeter.control.ThroughputController,org.apache.jmeter.control.gui.ThroughputControllerGui>
-
- org.anasoid.jmc.core.wrapper.jmeter.control.ThroughputControllerWrapper
-
- All Implemented Interfaces:
java.io.Serializable,ControllerWrapper<org.apache.jmeter.control.ThroughputController>,JMeterGUIWrapper<org.apache.jmeter.control.gui.ThroughputControllerGui>,TestElementTreeNodeWrapper<org.apache.jmeter.control.ThroughputController>,TestElementWrapper<org.apache.jmeter.control.ThroughputController>
@JmcDefaultName("Throughput Controller") public class ThroughputControllerWrapper extends GenericControllerWrapper<org.apache.jmeter.control.ThroughputController,org.apache.jmeter.control.gui.ThroughputControllerGui>
Wrapper for ThroughputController.- See Also:
ThroughputController, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThroughputControllerWrapper.ExecutionStyleenum for Format.static classThroughputControllerWrapper.ThroughputControllerWrapperBuilder<C extends ThroughputControllerWrapper,B extends ThroughputControllerWrapper.ThroughputControllerWrapperBuilder<C,B>>Builder.-
Nested classes/interfaces inherited from class org.anasoid.jmc.core.wrapper.jmeter.control.GenericControllerWrapper
GenericControllerWrapper.GenericControllerWrapperBuilder<T extends org.apache.jmeter.control.GenericController,G extends org.apache.jmeter.control.gui.AbstractControllerGui,C extends GenericControllerWrapper<T,G>,B extends GenericControllerWrapper.GenericControllerWrapperBuilder<T,G,C,B>>
-
Nested classes/interfaces inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractTestElementWrapper
AbstractTestElementWrapper.AbstractTestElementWrapperBuilder<T extends org.apache.jmeter.testelement.AbstractTestElement,C extends AbstractTestElementWrapper<T>,B extends AbstractTestElementWrapper.AbstractTestElementWrapperBuilder<T,C,B>>
-
Nested classes/interfaces inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicParentTestElementWrapper
AbstractBasicParentTestElementWrapper.AbstractBasicParentTestElementWrapperBuilder<T extends org.apache.jmeter.testelement.AbstractTestElement,C extends AbstractBasicParentTestElementWrapper<T>,B extends AbstractBasicParentTestElementWrapper.AbstractBasicParentTestElementWrapperBuilder<T,C,B>>
-
Nested classes/interfaces inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicTestElementWrapper
AbstractBasicTestElementWrapper.AbstractBasicTestElementWrapperBuilder<T extends org.apache.jmeter.testelement.AbstractTestElement,C extends AbstractBasicTestElementWrapper<T>,B extends AbstractBasicTestElementWrapper.AbstractBasicTestElementWrapperBuilder<T,C,B>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedThroughputControllerWrapper(ThroughputControllerWrapper.ThroughputControllerWrapperBuilder<?,?> b)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThroughputControllerWrapper.ThroughputControllerWrapperBuilder<?,?>builder()ThroughputControllerWrapper.ExecutionStylegetExecutionStyle()Whether the controller will run in percent executions or total executions mode.java.lang.Class<?>getGuiClass()Gui Test Class used by Jmeter TestElement.GUI_CLASS @See TestElementjava.lang.StringgetMaxThroughput()A number.java.lang.Class<?>getTestClass()Test Class used by Jmeter TestElement.TEST_CLASS.booleanisPerUser()If checked, per user will cause the controller to calculate whether it should execute on a per user (per thread) basis.voidsetExecutionStyle(ThroughputControllerWrapper.ExecutionStyle executionStyle)Whether the controller will run in percent executions or total executions mode.voidsetMaxThroughput(java.lang.String maxThroughput)A number.voidsetPerUser(boolean perUser)If checked, per user will cause the controller to calculate whether it should execute on a per user (per thread) basis.ThroughputControllerWrapper.ThroughputControllerWrapperBuilder<?,?>toBuilder()-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractTestElementWrapper
getComment, getName, isEnabled, setComment, setEnabled, setName
-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicParentTestElementWrapper
getChilds
-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicTestElementWrapper
getGuiClassAsString, getTags, getTestClassAsString, init, internalInit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.anasoid.jmc.core.wrapper.jmeter.testelement.TestElementWrapper
getChilds, getTags, getTestClassAsString, init
-
-
-
-
Constructor Detail
-
ThroughputControllerWrapper
protected ThroughputControllerWrapper(ThroughputControllerWrapper.ThroughputControllerWrapperBuilder<?,?> b)
-
-
Method Detail
-
getGuiClass
public java.lang.Class<?> getGuiClass()
Description copied from interface:JMeterGUIWrapperGui Test Class used by Jmeter TestElement.GUI_CLASS @See TestElement
-
getTestClass
public java.lang.Class<?> getTestClass()
Description copied from interface:TestElementWrapperTest Class used by Jmeter TestElement.TEST_CLASS. @See TestElement.
-
builder
public static ThroughputControllerWrapper.ThroughputControllerWrapperBuilder<?,?> builder()
-
toBuilder
public ThroughputControllerWrapper.ThroughputControllerWrapperBuilder<?,?> toBuilder()
-
getExecutionStyle
public ThroughputControllerWrapper.ExecutionStyle getExecutionStyle()
Whether the controller will run in percent executions or total executions mode.
-
setExecutionStyle
public void setExecutionStyle(ThroughputControllerWrapper.ExecutionStyle executionStyle)
Whether the controller will run in percent executions or total executions mode.
-
getMaxThroughput
public java.lang.String getMaxThroughput()
A number. For percent execution mode, a number from 0-100 that indicates the percentage of times the controller will execute. "50" means the controller will execute during half the iterations through the test plan. For total execution mode, the number indicates the total number of times the controller will execute.
-
setMaxThroughput
public void setMaxThroughput(java.lang.String maxThroughput)
A number. For percent execution mode, a number from 0-100 that indicates the percentage of times the controller will execute. "50" means the controller will execute during half the iterations through the test plan. For total execution mode, the number indicates the total number of times the controller will execute.
-
isPerUser
public boolean isPerUser()
If checked, per user will cause the controller to calculate whether it should execute on a per user (per thread) basis. If unchecked, then the calculation will be global for all users. For example, if using total execution mode, and uncheck "per user", then the number given for throughput will be the total number of executions made. If "per user" is checked, then the total number of executions would be the number of users times the number given for throughput.
-
setPerUser
public void setPerUser(boolean perUser)
If checked, per user will cause the controller to calculate whether it should execute on a per user (per thread) basis. If unchecked, then the calculation will be global for all users. For example, if using total execution mode, and uncheck "per user", then the number given for throughput will be the total number of executions made. If "per user" is checked, then the total number of executions would be the number of users times the number given for throughput.
-
-