public class BackendListener extends AbstractTestElement implements Backend, Serializable, SampleListener, TestStateListener, NoThreadClone, Remoteable
BackendListenerClient| Modifier and Type | Field and Description |
|---|---|
static String |
ARGUMENTS
Property key representing the arguments for the BackendListenerClient.
|
static String |
CLASSNAME
Property key representing the classname of the BackendListenerClient to user.
|
static String |
DEFAULT_QUEUE_SIZE |
static String |
QUEUE_SIZE
Queue size
|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
BackendListener()
Create a BackendListener.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Arguments |
getArguments()
Get the arguments (parameters) for the BackendListenerClient to be executed
with.
|
String |
getClassname()
Gets the Classname of the BackendListenerClient object
|
String |
getQueueSize()
Gets the queue size
|
void |
sampleOccurred(SampleEvent event)
A sample has started and stopped.
|
void |
sampleStarted(SampleEvent e)
A sample has started.
|
void |
sampleStopped(SampleEvent e)
A sample has stopped.
|
void |
setArguments(Arguments args)
Set the arguments (parameters) for the BackendListenerClient to be executed
with.
|
void |
setClassname(String classname)
Sets the Classname of the BackendListenerClient object
|
void |
setQueueSize(String queueSize)
Sets the queue size
|
void |
testEnded()
Implements TestStateListener.testEnded(String)
|
void |
testEnded(String host)
Method called at the end of the test.
|
void |
testStarted()
Implements TestStateListener.testStarted()
|
void |
testStarted(String host)
Implements TestStateListener.testStarted(String)
|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertypublic static final String CLASSNAME
public static final String QUEUE_SIZE
public static final String ARGUMENTS
public static final String DEFAULT_QUEUE_SIZE
public Object clone()
clone in interface TestElementclone in class AbstractTestElementpublic void sampleOccurred(SampleEvent event)
SampleListenersampleOccurred in interface SampleListenerevent - the SampleEvent that has occurredpublic void testStarted()
testStarted in interface TestStateListenerStandardJMeterEngine.run()public void testStarted(String host)
testStarted in interface TestStateListenerhost - name of hostStandardJMeterEngine.run()public void testEnded(String host)
testEnded in interface TestStateListenerhost - name of hostStandardJMeterEngine.stopTest()public void testEnded()
testEnded in interface TestStateListenerStandardJMeterEngine.stopTest()public void sampleStarted(SampleEvent e)
SampleListenersampleStarted in interface SampleListenere - the SampleEvent that has startedpublic void sampleStopped(SampleEvent e)
SampleListenersampleStopped in interface SampleListenere - the SampleEvent that has stoppedpublic void setArguments(Arguments args)
args - the new arguments. These replace any existing arguments.public Arguments getArguments()
public void setClassname(String classname)
classname - the new Classname valuepublic String getClassname()
public void setQueueSize(String queueSize)
queueSize - the size of the queuepublic String getQueueSize()
Copyright © 1998-2017 Apache Software Foundation. All Rights Reserved.