Apache JMeter
2.0.1.20050615

org.apache.jmeter.reporters
Class ResultSaver

java.lang.Object
  extended byorg.apache.jmeter.testelement.AbstractTestElement
      extended byorg.apache.jmeter.reporters.ResultSaver
All Implemented Interfaces:
Clearable, Cloneable, SampleListener, Serializable, TestElement

public class ResultSaver
extends AbstractTestElement
implements Serializable, SampleListener, Clearable

Save Result responseData to a set of files TODO - perhaps save other items such as headers? This is mainly intended for validation tests

Version:
$Revision: 1.4.2.4 $ Last updated: $Date: 2004/09/30 17:59:13 $
See Also:
Serialized Form

Field Summary
static String ERRORS_ONLY
           
static String FILENAME
           
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
ResultSaver()
           
ResultSaver(String name)
           
 
Method Summary
 void clear()
          Clears the current data of the object.
 void sampleOccurred(SampleEvent e)
          Saves the sample result (and any sub results) in files
 void sampleStarted(SampleEvent e)
          A sample has started.
 void sampleStopped(SampleEvent e)
          A sample has stopped.
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, addTestElement, canRemove, clearTemporary, clone, 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
 

Field Detail

FILENAME

public static final String FILENAME
See Also:
Constant Field Values

ERRORS_ONLY

public static final String ERRORS_ONLY
See Also:
Constant Field Values
Constructor Detail

ResultSaver

public ResultSaver()

ResultSaver

public ResultSaver(String name)
Method Detail

clear

public void clear()
Description copied from interface: Clearable
Clears the current data of the object.

Specified by:
clear in interface Clearable
Overrides:
clear in class AbstractTestElement

sampleOccurred

public void sampleOccurred(SampleEvent e)
Saves the sample result (and any sub results) in files

Specified by:
sampleOccurred in interface SampleListener
See Also:
SampleListener.sampleOccurred(org.apache.jmeter.samplers.SampleEvent)

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

Apache JMeter
2.0.1.20050615

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