Interface Controller

    • Method Detail

      • next

        Sampler next()
        Delivers the next Sampler or null
        Returns:
        org.apache.jmeter.samplers.Sampler or null
      • isDone

        boolean isDone()
        Indicates whether the Controller is done delivering Samplers for the rest of the test. When the top-level controller returns true to JMeterThread, the thread is complete.
        Returns:
        boolean
      • addIterationListener

        void addIterationListener​(LoopIterationListener listener)
        Controllers have to notify listeners of when they begin an iteration through their sub-elements.
        Parameters:
        listener - The LoopIterationListener to add
      • initialize

        void initialize()
        Called to initialize a controller at the beginning of a test iteration.
      • triggerEndOfLoop

        void triggerEndOfLoop()
        Trigger end of loop condition on controller (used by Start Next Loop feature)