Apache JMeter
2.2

org.apache.jmeter.visualizers
Class BeanShellListener

java.lang.Object
  extended byorg.apache.jmeter.testelement.AbstractTestElement
      extended byorg.apache.jmeter.visualizers.BeanShellListener
All Implemented Interfaces:
Cloneable, SampleListener, Serializable, TestBean, TestElement, UnsharedComponent, Visualizer

public class BeanShellListener
extends AbstractTestElement
implements SampleListener, Visualizer, Serializable, TestBean, UnsharedComponent

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
BeanShellListener()
           
 
Method Summary
 void add(SampleResult sample)
          This method is called by sampling thread to inform the visualizer about the arrival of a new sample.
 String getScript()
           
 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.
 void setScript(String script)
           
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanShellListener

public BeanShellListener()
Method Detail

getScript

public String getScript()

setScript

public void setScript(String script)

sampleOccurred

public void sampleOccurred(SampleEvent se)
Description copied from interface: SampleListener
A sample has started and stopped.

Specified by:
sampleOccurred in interface SampleListener

sampleStarted

public void sampleStarted(SampleEvent e)
Description copied from interface: SampleListener
A sample has started.

Specified by:
sampleStarted in interface SampleListener

sampleStopped

public void sampleStopped(SampleEvent e)
Description copied from interface: SampleListener
A sample has stopped.

Specified by:
sampleStopped in interface SampleListener

add

public void add(SampleResult sample)
Description copied from interface: Visualizer
This method is called by sampling thread to inform the visualizer about the arrival of a new sample.

Specified by:
add in interface Visualizer

isStats

public boolean isStats()
Description copied from interface: Visualizer
This method is used to indicate a visualizer generates statistics.

Specified by:
isStats in interface Visualizer
Returns:

Apache JMeter
2.2

Copyright © 1998-2006 Apache Software Foundation. All Rights Reserved.