| |
|
| java.lang.Object org.apache.jmeter.samplers.StatisticalSampleSender
StatisticalSampleSender | public class StatisticalSampleSender implements SampleSender,Serializable(Code) | | Implements batch reporting for remote testing.
author: Lars Krog-Jensen author: Created: 2005-okt-04 |
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. |
StatisticalSampleSender | public StatisticalSampleSender()(Code) | | |
StatisticalSampleSender | StatisticalSampleSender(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 hostname that the test has ended on. |
|
|
|