org.apache.jmeter.visualizers
public class BeanShellListener extends BeanShellTestElement implements Cloneable, SampleListener, TestBean, Visualizer, UnsharedComponent
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
BeanShellListener() |
Modifier and Type | Method and Description |
---|---|
void |
add(SampleResult sample)
This method is called by sampling thread to inform the visualizer about
the arrival of a new sample.
|
protected String |
getInitFileProperty() |
boolean |
isStats()
This method is used to indicate a visualizer generates statistics.
|
void |
sampleOccurred(SampleEvent se)
A sample has started and stopped.
|
void |
sampleStarted(SampleEvent e)
A sample has started.
|
void |
sampleStopped(SampleEvent e)
A sample has stopped.
|
clone, getBeanShellInterpreter, getFilename, getParameters, getScript, isResetInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testIterationStart, testStarted, testStarted, threadFinished, threadStarted
addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
protected String getInitFileProperty()
getInitFileProperty
in class BeanShellTestElement
public void sampleOccurred(SampleEvent se)
SampleListener
sampleOccurred
in interface SampleListener
public void sampleStarted(SampleEvent e)
SampleListener
sampleStarted
in interface SampleListener
public void sampleStopped(SampleEvent e)
SampleListener
sampleStopped
in interface SampleListener
public void add(SampleResult sample)
Visualizer
add
in interface Visualizer
public boolean isStats()
Visualizer
isStats
in interface Visualizer
Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.