Class BatchSampleSender

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final boolean isClientConfigured
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void testEnded(String host) Checks if any sample events are still present in the sampleStore and sends them to the listener.
      void sampleOccurred(SampleEvent e) Stores sample events until either a time or sample threshold is breached.
      • Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender

        isClientConfigured, testEnded
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BatchSampleSender

        BatchSampleSender()
    • Method Detail

      • testEnded

         void testEnded(String host)

        Checks if any sample events are still present in the sampleStore and sends them to the listener. Informs the listener of the testended.

        Parameters:
        host - the host that the test has ended on.
      • sampleOccurred

         void sampleOccurred(SampleEvent e)

        Stores sample events until either a time or sample threshold is breached. Both thresholds are reset if one fires. If only one threshold is set it becomes the only value checked against. When a threshold is breached the list of sample events is sent to a listener where the event are fired locally.

        Parameters:
        e - a Sample Event