| |
|
| java.lang.Object org.apache.jmeter.testelement.AbstractTestElement org.apache.jmeter.timers.ConstantThroughputTimer
ConstantThroughputTimer | public class ConstantThroughputTimer extends AbstractTestElement implements Timer,TestListener,TestBean(Code) | | This class implements a constant throughput timer. A Constant Throughtput
Timer paces the samplers under its influence so that the total number of
samples per unit of time approaches a given constant as much as possible.
There are two different ways of pacing the requests:
- delay each thread according to when it last ran
- delay each thread according to when any thread last ran
|
ConstantThroughputTimer | public ConstantThroughputTimer()(Code) | | Constructor for a non-configured ConstantThroughputTimer.
|
calculateCurrentTarget | protected long calculateCurrentTarget(long currentTime)(Code) | | Parameters: currentTime - new Target time |
getThroughput | public double getThroughput()(Code) | | Gets the configured desired throughput.
the rate at which samples should occur, in samples per minute. |
setThroughput | public void setThroughput(double throughput)(Code) | | Sets the desired throughput.
Parameters: throughput - Desired sampling rate, in samples per minute. |
testEnded | public void testEnded()(Code) | | |
toString | public String toString()(Code) | | Provide a description of this timer class.
TODO: Is this ever used? I can't remember where. Remove if it isn't --
TODO: or obtain text from bean's displayName or shortDescription.
the description of this timer class. |
|
|
|