Package org.apache.jmeter.visualizers
Class BSFListener
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,org.apache.jmeter.gui.Searchable,org.apache.jmeter.samplers.SampleListener,org.apache.jmeter.testbeans.TestBean,org.apache.jmeter.testelement.TestElement,org.apache.jmeter.visualizers.Visualizer
public class BSFListener extends BSFTestElement implements Cloneable, SampleListener, TestBean, Visualizer
Needs to implement Visualizer so that TestBeanGUI can find the correct GUI class
-
-
Field Summary
Fields Modifier and Type Field Description public Stringparameterspublic Stringfilenamepublic Stringscriptpublic final static StringDEFAULT_SCRIPT_LANGUAGEpublic transient JMeterContextthreadContextpublic transient StringthreadNamepublic final static TestElement.CompanionCompanionpublic final static StringNAMEpublic final static StringGUI_CLASSpublic final static StringENABLEDpublic final static StringTEST_CLASSpublic final static StringCOMMENTS
-
Constructor Summary
Constructors Constructor Description BSFListener()
-
Method Summary
Modifier and Type Method Description voidsampleOccurred(SampleEvent event)voidsampleStarted(SampleEvent e)voidsampleStopped(SampleEvent e)voidadd(SampleResult sample)booleanisStats()Objectclone()-
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript -
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, canRemove, clear, clearTestElementChildren, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse -
Methods inherited from class org.apache.jmeter.util.BSFTestElement
getScriptLanguage, setScriptLanguage -
Methods inherited from class org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getProps, getSchema, getString, removed, set -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
sampleOccurred
void sampleOccurred(SampleEvent event)
-
sampleStarted
void sampleStarted(SampleEvent e)
-
sampleStopped
void sampleStopped(SampleEvent e)
-
add
void add(SampleResult sample)
-
isStats
boolean isStats()
-
-
-
-