org.apache.jmeter.samplers
Class BatchSampleSender
- SampleSender, Serializable
public class BatchSampleSender
Implements batch reporting for remote testing.
void | sampleOccurred(SampleEvent e) - Stores sample events untill either a time or sample threshold is
breached.
|
void | testEnded() - Checks if any sample events are still present in the sampleStore and
sends them to the listener.
|
void | testEnded(String host) - Checks if any sample events are still present in the sampleStore and
sends them to the listener.
|
BatchSampleSender
public BatchSampleSender()
sampleOccurred
public void sampleOccurred(SampleEvent e)
Stores sample events untill 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 threhold is
breached the list of sample events is sent to a listener where the event
are fired locally.
- sampleOccurred in interface SampleSender
testEnded
public void testEnded()
Checks if any sample events are still present in the sampleStore and
sends them to the listener. Informs the listener of the testended.
- testEnded in interface SampleSender
testEnded
public 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.
- testEnded in interface SampleSender
host
- the host that the test has ended on.
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.