Package org.apache.jmeter.samplers
Interface RemoteSampleListener
- All Superinterfaces:
Remote
- All Known Implementing Classes:
RemoteSampleListenerImpl
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 TypeMethodDescriptionvoid
processBatch
(List<SampleEvent> samples) This method is called remotely and fires a list of samples events received locally.void
A sample has started and stopped.void
A sample has started.void
A sample has stopped.void
void
void
void
testStarted
(String host)
-
Method Details
-
testStarted
- Throws:
RemoteException
-
testStarted
- Throws:
RemoteException
-
testEnded
- Throws:
RemoteException
-
testEnded
- Throws:
RemoteException
-
processBatch
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.- Throws:
RemoteException
- when calling the remote method fails
-
sampleOccurred
A sample has started and stopped.- Parameters:
e
- the event with data about the completed sample- Throws:
RemoteException
- when calling the remote method fails
-
sampleStarted
A sample has started.- Parameters:
e
- the event with data about the started sample- Throws:
RemoteException
- when calling the remote method fails
-
sampleStopped
A sample has stopped.- Parameters:
e
- the event with data about the stopped sample- Throws:
RemoteException
- when calling the remote method fails
-