public class RandomVariableConfig extends ConfigTestElement implements TestBean, LoopIterationListener, NoThreadClone, NoConfigMerge, ThreadListener
PASSWORD, USERNAME
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
RandomVariableConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getMaximumValue()
Returns the maximum value (inclusive).
|
String |
getMinimumValue()
Returns the minimum value (inclusive).
|
String |
getOutputFormat()
Returns the output format.
|
boolean |
getPerThread()
Returns
true if the random is computed per thread. |
String |
getRandomSeed()
Returns the random seed.
|
String |
getVariableName()
Returns the variable name.
|
void |
iterationStart(LoopIterationEvent iterEvent)
Called when a loop iteration is about to start.
|
void |
setMaximumValue(String maxvalue)
Configures the maximum value (inclusive).
|
void |
setMinimumValue(String minValue)
Configures the minimum value (inclusive).
|
void |
setOutputFormat(String outputFormat)
Configures the output format.
|
void |
setPerThread(boolean perThread)
Configures if the random is computed per thread.
|
void |
setRandomSeed(String randomSeed)
Configures the random seed.
|
void |
setVariableName(String variableName)
Configures the variable name.
|
void |
threadFinished()
Called for each thread after all samples have been processed.
|
void |
threadStarted()
Called for each thread before starting sampling.
|
addConfigElement, addTestElement, expectsModification
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, 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
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
clone
removed
public void iterationStart(LoopIterationEvent iterEvent)
iterationStart
in interface LoopIterationListener
iterEvent
- the eventpublic String getMinimumValue()
public void setMinimumValue(String minValue)
minValue
- the minValue to setpublic String getMaximumValue()
public void setMaximumValue(String maxvalue)
maxvalue
- the maxvalue to setpublic String getVariableName()
public void setVariableName(String variableName)
variableName
- the variableName to setpublic String getRandomSeed()
public void setRandomSeed(String randomSeed)
randomSeed
- the randomSeed to setpublic boolean getPerThread()
true
if the random is computed per thread.public void setPerThread(boolean perThread)
perThread
- the perThread to setpublic String getOutputFormat()
public void setOutputFormat(String outputFormat)
outputFormat
- the outputFormat to setpublic void threadStarted()
ThreadListener
threadStarted
in interface ThreadListener
public void threadFinished()
ThreadListener
threadFinished
in interface ThreadListener
Copyright © 1998-2021 Apache Software Foundation. All Rights Reserved.