Package org.apache.jmeter.visualizers
Class BeanShellListener
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.util.BeanShellTestElement
org.apache.jmeter.visualizers.BeanShellListener
- All Implemented Interfaces:
- Serializable,- Cloneable,- Searchable,- UnsharedComponent,- SampleListener,- TestBean,- org.apache.jmeter.testelement.TestElement,- TestStateListener,- ThreadListener,- Visualizer
public class BeanShellListener
extends BeanShellTestElement
implements Cloneable, SampleListener, TestBean, Visualizer, UnsharedComponent
We must implement Visualizer so that TestBeanGUI can find the correct GUI class
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElementorg.apache.jmeter.testelement.TestElement.Companion
- 
Field SummaryFields inherited from interface org.apache.jmeter.testelement.TestElementCOMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(SampleResult sample) This method is called by sampling thread to inform the visualizer about the arrival of a new sample.clone()protected StringbooleanisStats()This method is used to indicate a visualizer generates statistics.voidA sample has started and stopped.voidA sample has started.voidA sample has stopped.Methods inherited from class org.apache.jmeter.util.BeanShellTestElementgetBeanShellInterpreter, getFilename, getParameters, getScript, isResetInterpreter, processFileOrScript, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStartedMethods inherited from class org.apache.jmeter.testelement.AbstractTestElementaddPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, 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, traversePropertyMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.testelement.TestElementget, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, set
- 
Constructor Details- 
BeanShellListenerpublic BeanShellListener()
 
- 
- 
Method Details- 
getInitFileProperty- Specified by:
- getInitFilePropertyin class- BeanShellTestElement
 
- 
sampleOccurredDescription copied from interface:SampleListenerA sample has started and stopped.- Specified by:
- sampleOccurredin interface- SampleListener
- Parameters:
- se- the- SampleEventthat has occurred
 
- 
sampleStartedDescription copied from interface:SampleListenerA sample has started.- Specified by:
- sampleStartedin interface- SampleListener
- Parameters:
- e- the- SampleEventthat has started
 
- 
sampleStoppedDescription copied from interface:SampleListenerA sample has stopped.- Specified by:
- sampleStoppedin interface- SampleListener
- Parameters:
- e- the- SampleEventthat has stopped
 
- 
addDescription copied from interface:VisualizerThis method is called by sampling thread to inform the visualizer about the arrival of a new sample.- Specified by:
- addin interface- Visualizer
- Parameters:
- sample- the newly arrived sample
 
- 
isStatspublic boolean isStats()Description copied from interface:VisualizerThis method is used to indicate a visualizer generates statistics.- Specified by:
- isStatsin interface- Visualizer
- Returns:
- true if visualiser generates statistics
 
- 
clone- Specified by:
- clonein interface- org.apache.jmeter.testelement.TestElement
- Overrides:
- clonein class- BeanShellTestElement
 
 
-