|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.util.ScriptingTestElement
org.apache.jmeter.util.JSR223TestElement
org.apache.jmeter.visualizers.JSR223Listener
public class JSR223Listener
Field Summary |
---|
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement |
---|
scriptLanguage |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
JSR223Listener()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.jmeter.util.JSR223TestElement |
---|
getCacheKey, getInstance, getScriptEngine, getScriptLanguage, populateBindings, processFileOrScript, setCacheKey, setScriptLanguage, testEnded, testEnded, testStarted, testStarted |
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement |
---|
getFilename, getParameters, getScript, setFilename, setParameters, setScript |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSR223Listener()
Method Detail |
---|
public void sampleOccurred(SampleEvent event)
SampleListener
sampleOccurred
in interface SampleListener
event
- the SampleEvent
that has occurredpublic void sampleStarted(SampleEvent e)
SampleListener
sampleStarted
in interface SampleListener
e
- the SampleEvent
that has startedpublic void sampleStopped(SampleEvent e)
SampleListener
sampleStopped
in interface SampleListener
e
- the SampleEvent
that has stoppedpublic void add(SampleResult sample)
Visualizer
add
in interface Visualizer
sample
- the newly arrived samplepublic boolean isStats()
Visualizer
isStats
in interface Visualizer
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |