|
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 | |
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Random()
| Method Detail |
public String execute(SampleResult previousResult,
Sampler currentSampler)
throws InvalidVariableException
execute in interface Functionexecute in class AbstractFunctionInvalidVariableExceptionFunction.execute(SampleResult, Sampler)
public void setParameters(Collection parameters)
throws InvalidVariableException
setParameters in interface FunctionsetParameters in class AbstractFunctionInvalidVariableExceptionFunction.setParameters(Collection)public String getReferenceKey()
getReferenceKey in interface FunctiongetReferenceKey in class AbstractFunctionFunction.getReferenceKey()public List getArgumentDesc()
Function.getArgumentDesc()
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||