|
Apache JMeter 2.0.1.20050615 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.testbeans.TestBean
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 |
| 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 | |
long |
delay()
Retrieve the delay to use during test execution. |
double |
getThroughput()
Gets the configured desired throughput. |
void |
setThroughput(double throughput)
Sets the desired throughput. |
void |
testEnded()
Called once for all threads after the end of a test |
void |
testEnded(String host)
|
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired. |
void |
testStarted()
Get the timer ready to compute delays for a new test. |
void |
testStarted(String host)
|
String |
toString()
Provide a description of this timer class. |
| Methods inherited from class org.apache.jmeter.testbeans.TestBean |
addProperty, addTestElement, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, prepare, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, traverse, traverseCollection, traverseMap, traverseProperty |
| Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
canRemove, getThreadContext, getThreadName, setThreadContext, setThreadName, threadFinished, threadStarted |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConstantThroughputTimer()
| Method Detail |
public void setThroughput(double throughput)
throughput - Desired sampling rate, in samples per minute.public double getThroughput()
public long delay()
delay in interface TimerTimer.delay()public String toString()
public void testStarted()
testStarted in interface TestListenerTestListener.testStarted()public void testEnded()
TestListener
testEnded in interface TestListenerStandardJMeterEngine.stopTest()public void testStarted(String host)
testStarted in interface TestListenerpublic void testEnded(String host)
testEnded in interface TestListenerpublic void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart in interface TestListenerevent -
|
Apache JMeter 2.0.1.20050615 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||