org.apache.jmeter.reporters
Class ResultCollector
java.lang.Object
|
+--org.apache.jmeter.testelement.AbstractTestElement
|
+--org.apache.jmeter.reporters.AbstractListenerElement
|
+--org.apache.jmeter.reporters.ResultCollector
- All Implemented Interfaces:
- Clearable, Cloneable, NoThreadClone, Remoteable, SampleListener, Serializable, TestElement, TestListener
- Direct Known Subclasses:
- MailerResultCollector
- public class ResultCollector
- extends AbstractListenerElement
- implements SampleListener, Clearable, Serializable, TestListener, Remoteable, NoThreadClone
- Version:
- $Id: ResultCollector.java,v 1.24 2003/06/27 21:31:50 jeremy_a Exp $
- Author:
- Michael Stover, Keith Cassell
- See Also:
- Serialized Form
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, clear, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, isRunningVersion, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from interface org.apache.jmeter.samplers.Clearable |
clear |
FILENAME
public static final String FILENAME
- See Also:
- Constant Field Values
ERROR_LOGGING
public static final String ERROR_LOGGING
- See Also:
- Constant Field Values
ResultCollector
public ResultCollector()
- No-arg constructor.
getFilename
public String getFilename()
isErrorLogging
public boolean isErrorLogging()
setErrorLogging
public void setErrorLogging(boolean errorLogging)
setFilename
public void setFilename(String f)
- Sets the filename attribute of the ResultCollector object.
- Parameters:
f
- the new filename value
testEnded
public void testEnded(String host)
- Specified by:
testEnded
in interface TestListener
testStarted
public void testStarted(String host)
- Specified by:
testStarted
in interface TestListener
testEnded
public void testEnded()
- Specified by:
testEnded
in interface TestListener
testStarted
public void testStarted()
- Specified by:
testStarted
in interface TestListener
loadExistingFile
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
enableFunctionalMode
public static void enableFunctionalMode(boolean mode)
getFunctionalMode
public boolean getFunctionalMode()
clearVisualizer
public void clearVisualizer()
setListener
public void setListener(Object l)
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
sampleOccurred
public void sampleOccurred(SampleEvent e)
- When a test result is received, display it and save it.
- Specified by:
sampleOccurred
in interface SampleListener
- Parameters:
e
- the sample event that was received
sendToVisualizer
protected void sendToVisualizer(SampleResult r)
testIterationStart
public void testIterationStart(LoopIterationEvent event)
- Description copied from interface:
TestListener
- Each time through a Thread Group's test script, an iteration event is
fired.
- Specified by:
testIterationStart
in interface TestListener
- Parameters:
event
-
Copyright © 1998-2003 Apache Software Foundation. All Rights Reserved.