Package org.apache.jmeter.samplers
Class BatchSampleSender
java.lang.Object
org.apache.jmeter.samplers.AbstractSampleSender
org.apache.jmeter.samplers.BatchSampleSender
- All Implemented Interfaces:
- Serializable,- SampleSender
Implements batch reporting for remote testing.
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionDeprecated.only for use by test codeprotectedBatchSampleSender(RemoteSampleListener listener) Constructor
- 
Method SummaryModifier and TypeMethodDescriptionprotected RemoteSampleListenerprotected List<SampleEvent>voidStores sample events until either a time or sample threshold is breached.voidChecks if any sample events are still present in the sampleStore and sends them to the listener.Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSenderisClientConfigured, testEnded
- 
Constructor Details- 
BatchSampleSenderDeprecated.only for use by test code
- 
BatchSampleSenderConstructor- Parameters:
- listener- that the List of sample events will be sent to.
 
 
- 
- 
Method Details- 
getListener- Returns:
- the listener
 
- 
getSampleStore- Returns:
- the sampleStore
 
- 
testEndedChecks if any sample events are still present in the sampleStore and sends them to the listener. Informs the listener of the testended.- Specified by:
- testEndedin interface- SampleSender
- Parameters:
- host- the host that the test has ended on.
 
- 
sampleOccurredStores 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.- Specified by:
- sampleOccurredin interface- SampleSender
- Parameters:
- e- a Sample Event
 
 
-