Package org.apache.jmeter.samplers
Class StatisticalSampleSender
java.lang.Object
org.apache.jmeter.samplers.AbstractSampleSender
org.apache.jmeter.samplers.StatisticalSampleSender
- All Implemented Interfaces:
Serializable
,SampleSender
Implements batch reporting for remote testing.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Stores sample events until either a time or sample threshold is breached.void
Checks if any sample events are still present in the sampleStore and sends them to the listener.Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
-
Constructor Details
-
StatisticalSampleSender
Deprecated.only for use by test code
-
-
Method Details
-
testEnded
Checks if any sample events are still present in the sampleStore and sends them to the listener. Informs the listener that the test ended.- Specified by:
testEnded
in interfaceSampleSender
- Parameters:
host
- the hostname that the test has ended on.
-
sampleOccurred
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.- Specified by:
sampleOccurred
in interfaceSampleSender
- Parameters:
e
- a Sample Event
-