public class BackendListener extends AbstractTestElement implements 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, traverseProperty
public 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 TestElement
clone
in class AbstractTestElement
public void sampleOccurred(SampleEvent event)
SampleListener
sampleOccurred
in interface SampleListener
event
- the SampleEvent
that has occurredpublic void testStarted()
testStarted
in interface TestStateListener
StandardJMeterEngine.run()
public void testStarted(String host)
testStarted
in interface TestStateListener
host
- name of hostStandardJMeterEngine.run()
public void testEnded(String host)
testEnded
in interface TestStateListener
host
- name of hostStandardJMeterEngine.stopTest()
public void testEnded()
testEnded
in interface TestStateListener
StandardJMeterEngine.stopTest()
public void sampleStarted(SampleEvent e)
SampleListener
sampleStarted
in interface SampleListener
e
- the SampleEvent
that has startedpublic void sampleStopped(SampleEvent e)
SampleListener
sampleStopped
in interface SampleListener
e
- 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-2016 Apache Software Foundation. All Rights Reserved.