public class ResultSaver extends AbstractTestElement implements Serializable, SampleListener
Modifier and Type | Field and Description |
---|---|
static String |
ADD_TIMESTAMP |
static String |
ERRORS_ONLY |
static String |
FILENAME |
static String |
NUMBER_PAD_LENGTH |
static String |
SKIP_AUTO_NUMBER |
static String |
SKIP_SUFFIX |
static String |
SUCCESS_ONLY |
static String |
VARIABLE_NAME |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
ResultSaver() |
ResultSaver(String name) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the TestElement of all data.
|
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.
|
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
public static final String FILENAME
public static final String VARIABLE_NAME
public static final String ERRORS_ONLY
public static final String SUCCESS_ONLY
public static final String SKIP_AUTO_NUMBER
public static final String SKIP_SUFFIX
public static final String ADD_TIMESTAMP
public static final String NUMBER_PAD_LENGTH
public ResultSaver()
public ResultSaver(String name)
public void clear()
AbstractTestElement
clear
in interface TestElement
clear
in class AbstractTestElement
public void sampleOccurred(SampleEvent e)
sampleOccurred
in interface SampleListener
e
- the SampleEvent
that has occurredSampleListener.sampleOccurred(org.apache.jmeter.samplers.SampleEvent)
public void sampleStarted(SampleEvent e)
sampleStarted
in interface SampleListener
e
- the SampleEvent
that has startedpublic void sampleStopped(SampleEvent e)
sampleStopped
in interface SampleListener
e
- the SampleEvent
that has stoppedCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.