|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.jmeter.testelement.AbstractTestElement | +--org.apache.jmeter.timers.ConstantThroughputTimer
This class implements a constant throughput timer. A Constant Throughtput Timer paces the samplers under it's influence so that the total number of samples per unit of time approaches a given constant as much as possible.
Field Summary | |
static String |
THROUGHPUT
|
Fields inherited from class org.apache.jmeter.testelement.AbstractTestElement |
log |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
ConstantThroughputTimer()
Constructor for a non-configured ConstantThroughputTimer. |
Method Summary | |
Object |
clone()
Creates a copy of this ConstantThroughputTimer, ready to start calculating delays for new samples. |
long |
delay()
Retrieve the delay to use during test execution. |
String |
getDelay()
Not implemented. |
double |
getRange()
Not implemented. |
long |
getThroughput()
Gets the configured desired throughput. |
String |
getThroughputString()
|
void |
setDelay(String delay)
Not implemented. |
void |
setRange(double range)
Not implemented. |
void |
setThroughput(String throughput)
Sets the desired throughput. |
String |
toString()
Provide a description of this timer class. |
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, clear, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, isRunningVersion, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String THROUGHPUT
Constructor Detail |
public ConstantThroughputTimer()
Method Detail |
public void setThroughput(String throughput)
throughput
- Desired sampling rate, in samples per minute.public void setRange(double range)
setRange
in interface Timer
range
- public double getRange()
getRange
in interface Timer
public void setDelay(String delay)
setDelay
in interface Timer
delay
- the delay value (this is a String as it can be set using a
variable).public String getDelay()
getDelay
in interface Timer
public long getThroughput()
public String getThroughputString()
public long delay()
delay
in interface Timer
Timer.delay()
public String toString()
toString
in class Object
public Object clone()
clone
in interface TestElement
clone
in class AbstractTestElement
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |