public class ResultAction extends OnErrorTestElement implements Serializable, SampleListener
ON_ERROR_ACTION, ON_ERROR_CONTINUE, ON_ERROR_START_NEXT_THREAD_LOOP, ON_ERROR_STOPTEST, ON_ERROR_STOPTEST_NOW, ON_ERROR_STOPTHREAD
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
ResultAction() |
Modifier and Type | Method and Description |
---|---|
void |
sampleOccurred(SampleEvent e)
Examine the sample(s) and take appropriate action
|
void |
sampleStarted(SampleEvent e)
A sample has started.
|
void |
sampleStopped(SampleEvent e)
A sample has stopped.
|
getErrorAction, isContinue, isStartNextThreadLoop, isStopTest, isStopTestNow, isStopThread, setErrorAction
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, 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 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.