|
Apache JMeter 2.0.1.20050615 |
|||||||||
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
|
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()
|
static void |
enableFunctionalMode(boolean mode)
|
String |
getFilename()
|
boolean |
getFunctionalMode()
|
boolean |
isErrorLogging()
|
void |
loadExistingFile()
|
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 |
setListener(Object l)
|
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, 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 ERROR_LOGGING
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 org.xml.sax.SAXException, IOException, org.apache.avalon.framework.configuration.ConfigurationException
org.xml.sax.SAXException
IOException
org.apache.avalon.framework.configuration.ConfigurationException
public static void enableFunctionalMode(boolean mode)
public boolean getFunctionalMode()
public void clearVisualizer()
public void setListener(Object l)
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 testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart
in interface TestListener
event
-
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |