| |
|
| java.lang.Object org.apache.jmeter.samplers.BatchSampleSender
BatchSampleSender | public class BatchSampleSender implements SampleSender,Serializable(Code) | | Implements batch reporting for remote testing.
author: Michael Freeman |
Method Summary | |
public void | SampleOccurred(SampleEvent e) Stores sample events untill either a time or sample threshold is
breached. | public void | testEnded() Checks if any sample events are still present in the sampleStore and
sends them to the listener. | public void | testEnded(String host) Checks if any sample events are still present in the sampleStore and
sends them to the listener. |
BatchSampleSender | public BatchSampleSender()(Code) | | |
BatchSampleSender | BatchSampleSender(RemoteSampleListener listener)(Code) | | Constructor
Parameters: listener - that the List of sample events will be sent to. |
SampleOccurred | public void SampleOccurred(SampleEvent e)(Code) | | 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.
Parameters: e - a Sample Event |
testEnded | public void testEnded()(Code) | | Checks if any sample events are still present in the sampleStore and
sends them to the listener. Informs the listener of the testended.
|
testEnded | public void testEnded(String host)(Code) | | 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. |
|
|
|