Package org.apache.jmeter.samplers
Class BatchSampleSender
-
- All Implemented Interfaces:
-
java.io.Serializable
,org.apache.jmeter.samplers.SampleSender
public class BatchSampleSender 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 BatchSampleSender()
-
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 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
-
-
-
-