Package org.apache.jmeter.samplers
Class StatisticalSampleSender
-
- All Implemented Interfaces:
-
java.io.Serializable
,org.apache.jmeter.samplers.SampleSender
public class StatisticalSampleSender extends AbstractSampleSender implements Serializable
Implements batch reporting for remote testing.
-
-
Field Summary
Fields Modifier and Type Field Description public final boolean
isClientConfigured
-
Constructor Summary
Constructors Constructor Description StatisticalSampleSender()
-
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. -
-
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 that the test ended.
- Parameters:
host
- the hostname 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
-
-
-
-