org.apache.jmeter.control
Class ThroughputController
- Cloneable, Serializable, Controller, LoopIterationListener, Serializable, TestElement, TestListener
public class ThroughputController
This class represents a controller that can control the number of times that
it is executed, either by the total number of times the user wants the
controller executed (BYNUMBER) or by the percentage of time it is called
(BYPERCENT)
The current implementation executes the first N samples (BYNUMBER)
or the last N% of samples (BYPERCENT).
addIterationListener , addTestElement , currentReturnedNull , fireIterEvents , fireIterationStart , getCurrentElement , getIterCount , getSubControllers , incrementCurrent , incrementIterCount , initialize , isDone , isFirst , next , nextIsAController , nextIsASampler , nextIsNull , reInitialize , removeCurrentElement , resetCurrent , resetIterCount , setCurrentElement , setDone , setFirst |
addProperty , addTestElement , canRemove , clear , clearTemporary , clone , emptyTemporary , equals , getComment , getName , getProperty , getPropertyAsBoolean , getPropertyAsBoolean , getPropertyAsDouble , getPropertyAsFloat , getPropertyAsInt , getPropertyAsInt , getPropertyAsLong , getPropertyAsString , getPropertyAsString , getThreadContext , getThreadName , hashCode , isEnabled , isRunningVersion , isTemporary , logProperties , mergeIn , propertyIterator , recoverRunningVersion , removeProperty , setComment , setName , setProperty , setProperty , setProperty , setProperty , setProperty , setProperty , setProperty , setRunningVersion , setTemporary , setThreadContext , setThreadName , traverse , traverseCollection , traverseMap , traverseProperty |
BYNUMBER
public static final int BYNUMBER
BYPERCENT
public static final int BYPERCENT
ThroughputController
public ThroughputController()
getMaxThroughput
public String getMaxThroughput()
getMaxThroughputAsInt
protected int getMaxThroughputAsInt()
getPercentThroughput
public String getPercentThroughput()
getPercentThroughputAsFloat
protected float getPercentThroughputAsFloat()
getStyle
public int getStyle()
isPerThread
public boolean isPerThread()
setMaxThroughput
public void setMaxThroughput(String maxThroughput)
setMaxThroughput
public void setMaxThroughput(int maxThroughput)
setPerThread
public void setPerThread(boolean perThread)
setPercentThroughput
public void setPercentThroughput(String percentThroughput)
setPercentThroughput
public void setPercentThroughput(float percentThroughput)
setStyle
public void setStyle(int style)
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.