|
Apache JMeter 2.1.1 |
|||||||||
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.reporters.AbstractListenerElement
org.apache.jmeter.reporters.ResultCollector
Field Summary | |
static String |
ERROR_LOGGING
|
static String |
FILENAME
|
protected boolean |
isStats
|
static String |
SAVE_CONFIG
|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
ResultCollector()
No-arg constructor. |
Method Summary | |
void |
clearVisualizer()
|
String |
getFilename()
|
SampleSaveConfiguration |
getSaveConfig()
|
boolean |
isErrorLogging()
|
void |
loadExistingFile()
|
void |
recordStats(TestElement e)
recordStats is used to save statistics generated by visualizers |
void |
sampleOccurred(SampleEvent e)
When a test result is received, display it and save it. |
void |
sampleStarted(SampleEvent e)
A sample has started. |
void |
sampleStopped(SampleEvent e)
A sample has stopped. |
protected void |
sendToVisualizer(SampleResult r)
|
void |
setErrorLogging(boolean errorLogging)
|
void |
setFilename(String f)
Sets the filename attribute of the ResultCollector object. |
void |
setSaveConfig(SampleSaveConfiguration saveConfig)
|
void |
testEnded()
Called once for all threads after the end of a test |
void |
testEnded(String host)
|
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired. |
void |
testStarted()
Called just before the start of the test Note that not all the test variables will have been set up at this point. |
void |
testStarted(String host)
|
Methods inherited from class org.apache.jmeter.reporters.AbstractListenerElement |
clone, getVisualizer, setListener |
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, canRemove, clear, clearTemporary, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, 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 |
Methods inherited from interface org.apache.jmeter.samplers.Clearable |
clear |
Field Detail |
public static final String FILENAME
public static final String SAVE_CONFIG
public static final String ERROR_LOGGING
protected boolean isStats
Constructor Detail |
public ResultCollector()
Method Detail |
public String getFilename()
public boolean isErrorLogging()
public void setErrorLogging(boolean errorLogging)
public void setFilename(String f)
f
- the new filename valuepublic void testEnded(String host)
testEnded
in interface TestListener
public void testStarted(String host)
testStarted
in interface TestListener
public void testEnded()
TestListener
testEnded
in interface TestListener
StandardJMeterEngine.stopTest()
public void testStarted()
TestListener
testStarted
in interface TestListener
StandardJMeterEngine.run()
public void loadExistingFile() throws IOException
IOException
public void clearVisualizer()
public void sampleStarted(SampleEvent e)
SampleListener
sampleStarted
in interface SampleListener
public void sampleStopped(SampleEvent e)
SampleListener
sampleStopped
in interface SampleListener
public void sampleOccurred(SampleEvent e)
sampleOccurred
in interface SampleListener
e
- the sample event that was receivedprotected void sendToVisualizer(SampleResult r)
public void recordStats(TestElement e) throws Exception
e
-
Exception
public void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart
in interface TestListener
event
- public SampleSaveConfiguration getSaveConfig()
public void setSaveConfig(SampleSaveConfiguration saveConfig)
saveConfig
- The saveConfig to set.
|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |