public class RemoteSampleListenerImpl extends UnicastRemoteObject implements RemoteSampleListener, SampleListener, TestStateListener
ref| Constructor and Description |
|---|
RemoteSampleListenerImpl(Object listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
processBatch(List<SampleEvent> samples)
This method is called remotely and fires a list of samples events
received locally.
|
void |
sampleOccurred(SampleEvent e)
A sample has started and stopped.
|
void |
sampleStarted(SampleEvent e)
A sample has started.
|
void |
sampleStopped(SampleEvent e)
A sample has stopped.
|
void |
testEnded()
Called once for all threads after the end of a test.
|
void |
testEnded(String host)
Called once for all threads after the end of a test.
|
void |
testStarted()
Called just before the start of the test from the main engine thread.
|
void |
testStarted(String host)
Called just before the start of the test from the main engine thread.
|
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic RemoteSampleListenerImpl(Object listener) throws RemoteException
RemoteExceptionpublic void testStarted()
TestStateListenerCalled just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
testStarted in interface RemoteSampleListenertestStarted in interface TestStateListenerStandardJMeterEngine.run()public void testStarted(String host)
TestStateListenerCalled just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
testStarted in interface RemoteSampleListenertestStarted in interface TestStateListenerhost - name of hostStandardJMeterEngine.run()public void testEnded()
TestStateListenerCalled once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
testEnded in interface RemoteSampleListenertestEnded in interface TestStateListenerStandardJMeterEngine.stopTest()public void testEnded(String host)
TestStateListenerCalled once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
testEnded in interface RemoteSampleListenertestEnded in interface TestStateListenerhost - name of hostStandardJMeterEngine.stopTest()public void processBatch(List<SampleEvent> samples)
processBatch in interface RemoteSampleListenersamples - the list of sample events to be fired locallypublic void sampleOccurred(SampleEvent e)
RemoteSampleListenersampleOccurred in interface RemoteSampleListenersampleOccurred in interface SampleListenere - the event with data about the completed samplepublic void sampleStarted(SampleEvent e)
sampleStarted in interface RemoteSampleListenersampleStarted in interface SampleListenere - the event with data about the started samplepublic void sampleStopped(SampleEvent e)
sampleStopped in interface RemoteSampleListenersampleStopped in interface SampleListenere - the event with data about the stopped sampleCopyright © 1998-2020 Apache Software Foundation. All Rights Reserved.