Package org.apache.jmeter.samplers
Interface RemoteSampleListener
-
- All Implemented Interfaces:
-
java.rmi.Remote
public interface RemoteSampleListener implements Remote
Allows notification on events occurring during the sampling process. Specifically, when sampling is started, when a specific sample is obtained, and when sampling is stopped.
-
-
Method Summary
Modifier and Type Method Description abstract void
testStarted()
abstract void
testStarted(String host)
abstract void
testEnded()
abstract void
testEnded(String host)
abstract void
processBatch(List<SampleEvent> samples)
This method is called remotely and fires a list of samples events received locally. abstract void
sampleOccurred(SampleEvent e)
A sample has started and stopped. abstract void
sampleStarted(SampleEvent e)
A sample has started. abstract void
sampleStopped(SampleEvent e)
A sample has stopped. -
-
Method Detail
-
testStarted
abstract void testStarted()
-
testStarted
abstract void testStarted(String host)
-
testEnded
abstract void testEnded()
-
processBatch
abstract void processBatch(List<SampleEvent> samples)
This method is called remotely and fires a list of samples events received locally. The function is to reduce network load when using remote testing.
- Parameters:
samples
- the list of sample events to be fired locally.
-
sampleOccurred
abstract void sampleOccurred(SampleEvent e)
A sample has started and stopped.
- Parameters:
e
- the event with data about the completed sample
-
sampleStarted
abstract void sampleStarted(SampleEvent e)
A sample has started.
- Parameters:
e
- the event with data about the started sample
-
sampleStopped
abstract void sampleStopped(SampleEvent e)
A sample has stopped.
- Parameters:
e
- the event with data about the stopped sample
-
-
-
-