|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.functions.AbstractFunction
org.apache.jmeter.functions.Random
Provides a Random function which returns a random long integer between a min (first argument) and a max (second argument).
Constructor Summary | |
Random()
No-arg constructor. |
Method Summary | |
Object |
clone()
|
String |
execute(SampleResult previousResult,
Sampler currentSampler)
Execute the function. |
List |
getArgumentDesc()
Get the description of this function. |
String |
getReferenceKey()
Get the invocation key for this function. |
void |
setParameters(Collection parameters)
Set the parameters for the function. |
Methods inherited from class org.apache.jmeter.functions.AbstractFunction |
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Random()
Method Detail |
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public String execute(SampleResult previousResult, Sampler currentSampler) throws InvalidVariableException
execute
in interface Function
execute
in class AbstractFunction
InvalidVariableException
Function.execute(SampleResult, Sampler)
public void setParameters(Collection parameters) throws InvalidVariableException
setParameters
in interface Function
setParameters
in class AbstractFunction
InvalidVariableException
Function.setParameters(Collection)
public String getReferenceKey()
getReferenceKey
in interface Function
getReferenceKey
in class AbstractFunction
Function.getReferenceKey()
public List getArgumentDesc()
getArgumentDesc
in interface Function
Function.getArgumentDesc()
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |