Class RemoteListenerWrapper

java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.samplers.RemoteListenerWrapper
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, SampleListener, org.apache.jmeter.testelement.TestElement, TestStateListener

public class RemoteListenerWrapper extends AbstractTestElement implements SampleListener, TestStateListener, Serializable, NoThreadClone
Lars-Erik Helander provided the idea (and original implementation) for the caching functionality (sampleStore).
See Also:
  • Constructor Details

    • RemoteListenerWrapper

      public RemoteListenerWrapper(RemoteSampleListener l)
    • RemoteListenerWrapper

      public RemoteListenerWrapper()
  • Method Details

    • testStarted

      public void testStarted()
      Description copied from interface: TestStateListener

      Called just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.

      N.B. testStarted() and testEnded() are called from different threads.

      Specified by:
      testStarted in interface TestStateListener
      See Also:
    • testEnded

      public void testEnded()
      Description copied from interface: TestStateListener

      Called once for all threads after the end of a test. This will use the same element instances as at the start of the test.

      N.B. testStarted() and testEnded() are called from different threads.

      Specified by:
      testEnded in interface TestStateListener
      See Also:
    • testStarted

      public void testStarted(String host)
      Description copied from interface: TestStateListener

      Called just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.

      N.B. testStarted() and testEnded() are called from different threads.

      Specified by:
      testStarted in interface TestStateListener
      Parameters:
      host - name of host
      See Also:
    • testEnded

      public void testEnded(String host)
      Description copied from interface: TestStateListener

      Called once for all threads after the end of a test. This will use the same element instances as at the start of the test.

      N.B. testStarted() and testEnded() are called from different threads.

      Specified by:
      testEnded in interface TestStateListener
      Parameters:
      host - name of host
      See Also:
    • sampleOccurred

      public void sampleOccurred(SampleEvent e)
      Description copied from interface: SampleListener
      A sample has started and stopped.
      Specified by:
      sampleOccurred in interface SampleListener
      Parameters:
      e - the SampleEvent that has occurred
    • sampleStarted

      public void sampleStarted(SampleEvent e)
      Description copied from interface: SampleListener
      A sample has started.
      Specified by:
      sampleStarted in interface SampleListener
      Parameters:
      e - the SampleEvent that has started
    • sampleStopped

      public void sampleStopped(SampleEvent e)
      Description copied from interface: SampleListener
      A sample has stopped.
      Specified by:
      sampleStopped in interface SampleListener
      Parameters:
      e - the SampleEvent that has stopped