Class ResultSaver
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.reporters.ResultSaver
- All Implemented Interfaces:
Serializable, Cloneable, Searchable, SampleListener, TestElement
Save Result responseData to a set of files
This is mainly intended for validation tests
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the TestElement of all data.voidSaves the sample result (and any sub results) in filesvoidA sample has started.voidA sample has stopped.Methods inherited from class AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
-
Field Details
-
FILENAME
- See Also:
-
VARIABLE_NAME
- See Also:
-
ERRORS_ONLY
- See Also:
-
SUCCESS_ONLY
- See Also:
-
SKIP_AUTO_NUMBER
- See Also:
-
SKIP_SUFFIX
- See Also:
-
ADD_TIMESTAMP
- See Also:
-
NUMBER_PAD_LENGTH
- See Also:
-
-
Constructor Details
-
ResultSaver
public ResultSaver() -
ResultSaver
-
-
Method Details
-
clear
public void clear()Description copied from class:AbstractTestElementClear the TestElement of all data.- Specified by:
clearin interfaceTestElement- Overrides:
clearin classAbstractTestElement
-
sampleOccurred
Saves the sample result (and any sub results) in files- Specified by:
sampleOccurredin interfaceSampleListener- Parameters:
e- theSampleEventthat has occurred- See Also:
-
sampleStarted
A sample has started.- Specified by:
sampleStartedin interfaceSampleListener- Parameters:
e- theSampleEventthat has started
-
sampleStopped
A sample has stopped.- Specified by:
sampleStoppedin interfaceSampleListener- Parameters:
e- theSampleEventthat has stopped
-