Save This Page
Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.functions » [javadoc | source]
org.apache.jmeter.functions
public class: Random [javadoc | source]
java.lang.Object
   org.apache.jmeter.functions.AbstractFunction
      org.apache.jmeter.functions.Random

All Implemented Interfaces:
    Function

Provides a Random function which returns a random long integer between a min (first argument) and a max (second argument).
Constructor:
 public Random() 
Method from org.apache.jmeter.functions.Random Summary:
execute,   getArgumentDesc,   getReferenceKey,   setParameters
Methods from org.apache.jmeter.functions.AbstractFunction:
checkMinParameterCount,   checkParameterCount,   checkParameterCount,   execute,   execute,   getReferenceKey,   getVariables,   setParameters
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.functions.Random Detail:
 public synchronized String execute(SampleResult previousResult,
    Sampler currentSampler) throws InvalidVariableException 
    Execute the function.
 public List getArgumentDesc() 
    Get the description of this function.
 public String getReferenceKey() 
    Get the invocation key for this function.
 public synchronized  void setParameters(Collection parameters) throws InvalidVariableException 
    Set the parameters for the function.