Package org.apache.jmeter.timers
Class UniformRandomTimer
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.timers.ConstantTimer
org.apache.jmeter.timers.RandomTimer
org.apache.jmeter.timers.UniformRandomTimer
- All Implemented Interfaces:
Serializable
,Cloneable
,LoopIterationListener
,Searchable
,org.apache.jmeter.testelement.TestElement
,ModifiableTimer
,Timer
This class implements those methods needed by RandomTimer to be instantiable
and implements a random delay with an average value and a uniformly
distributed variation.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElement
org.apache.jmeter.testelement.TestElement.Companion
-
Field Summary
Fields inherited from class org.apache.jmeter.timers.RandomTimer
RANGE
Fields inherited from class org.apache.jmeter.timers.ConstantTimer
DELAY
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.jmeter.timers.RandomTimer
getRandom, getRange, setRange, setRange
Methods inherited from class org.apache.jmeter.timers.ConstantTimer
getDelay, iterationStart, setDelay
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.jmeter.timers.ModifiableTimer
isModifiable
Methods inherited from interface org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, set
-
Constructor Details
-
UniformRandomTimer
public UniformRandomTimer()
-
-
Method Details
-
delay
public long delay()Description copied from class:ConstantTimer
Retrieve the delay to use during test execution.- Specified by:
delay
in interfaceTimer
- Overrides:
delay
in classConstantTimer
- Returns:
- the delay.
-
toString
Description copied from class:ConstantTimer
Provide a description of this timer class.- Overrides:
toString
in classConstantTimer
- Returns:
- the description of this timer class.
-