Class RandomTimer

All Implemented Interfaces:
Serializable, Cloneable, Searchable, org.apache.jmeter.testelement.TestElement, ModifiableTimer, Timer
Direct Known Subclasses:
GaussianRandomTimer, PoissonRandomTimer, UniformRandomTimer

public abstract class RandomTimer extends ConstantTimer implements ModifiableTimer, Serializable
This class implements a random timer with its own panel and fields for value update and user interaction. Since this class does not define the delay() method, is abstract and must be extended to provide full functionality.
See Also:
  • Field Details

  • Constructor Details

    • RandomTimer

      protected RandomTimer()
      No-arg constructor.
  • Method Details

    • setRange

      public void setRange(double range)
      Set the range value.
      Overrides:
      setRange in class ConstantTimer
      Parameters:
      range - Not used
    • setRange

      public void setRange(String range)
    • getRange

      public double getRange()
      Get the range value.
      Overrides:
      getRange in class ConstantTimer
      Returns:
      double
    • getRandom

      protected Random getRandom()
      Returns:
      Random Thread local Random