Serializable, Cloneable, Searchable, SampleListener, TestBean, TestElement, Visualizerpublic class BSFListener extends BSFTestElement implements Cloneable, SampleListener, TestBean, Visualizer
scriptLanguageCOMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor | Description |
|---|---|
BSFListener() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(SampleResult sample) |
This method is called by sampling thread to inform the visualizer about
the arrival of a new sample.
|
boolean |
isStats() |
This method is used to indicate a visualizer generates statistics.
|
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.
|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, 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, traversePropertyevalFileOrScript, getManager, getScriptLanguage, initManager, processFileOrScript, setScriptLanguagefinalize, getClass, notify, notifyAll, toString, wait, wait, waitgetFilename, getParameters, getScript, setFilename, setParameters, setScriptpublic void sampleOccurred(SampleEvent event)
SampleListenersampleOccurred in interface SampleListenerevent - the SampleEvent that has occurredpublic 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 add(SampleResult sample)
Visualizeradd in interface Visualizersample - the newly arrived samplepublic boolean isStats()
VisualizerisStats in interface VisualizerCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.