|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.apache.jmeter.samplers.RemoteSampleListenerImpl
public class RemoteSampleListenerImpl
Implementation of remote sampler listener, also supports TestListener
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
RemoteSampleListenerImpl(Object listener)
|
|
| Method Summary | |
|---|---|
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 |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired for each thread. |
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. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteSampleListenerImpl(Object listener)
throws RemoteException
RemoteException| Method Detail |
|---|
public void testStarted()
TestListenerCalled 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 TestListenerStandardJMeterEngine.run()public void testStarted(String host)
TestListenerCalled 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 TestListenerhost - name of hostStandardJMeterEngine.run()public void testEnded()
TestListenerCalled 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 TestListenerStandardJMeterEngine.stopTest()public void testEnded(String host)
TestListenerCalled 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 TestListenerhost - name of hostStandardJMeterEngine.stopTest()public void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart in interface TestListenerpublic void processBatch(List<SampleEvent> samples)
processBatch in interface RemoteSampleListenersamples - the list of sample events to be fired locallypublic void sampleOccurred(SampleEvent e)
RemoteSampleListener
sampleOccurred in interface RemoteSampleListenersampleOccurred in interface SampleListenerpublic void sampleStarted(SampleEvent e)
sampleStarted in interface RemoteSampleListenersampleStarted in interface SampleListenerpublic void sampleStopped(SampleEvent e)
sampleStopped in interface RemoteSampleListenersampleStopped in interface SampleListener
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||