Package org.apache.jmeter.reporters
Class ResultAction
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.testelement.OnErrorTestElement
org.apache.jmeter.reporters.ResultAction
- All Implemented Interfaces:
Serializable
,Cloneable
,Searchable
,SampleListener
,TestElement
ResultAction - take action based on the status of the last Result
- See Also:
-
Field Summary
Fields inherited from class org.apache.jmeter.testelement.OnErrorTestElement
ON_ERROR_ACTION, ON_ERROR_CONTINUE, ON_ERROR_START_NEXT_THREAD_LOOP, ON_ERROR_STOPTEST, ON_ERROR_STOPTEST_NOW, ON_ERROR_STOPTHREAD
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Examine the sample(s) and take appropriate actionvoid
A sample has started.void
A sample has stopped.Methods inherited from class org.apache.jmeter.testelement.OnErrorTestElement
getErrorAction, isContinue, isStartNextThreadLoop, isStopTest, isStopTestNow, isStopThread, setErrorAction
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
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
-
Constructor Details
-
ResultAction
public ResultAction()
-
-
Method Details
-
sampleOccurred
Examine the sample(s) and take appropriate action- Specified by:
sampleOccurred
in interfaceSampleListener
- Parameters:
e
- theSampleEvent
that has occurred- See Also:
-
sampleStarted
A sample has started.- Specified by:
sampleStarted
in interfaceSampleListener
- Parameters:
e
- theSampleEvent
that has started
-
sampleStopped
A sample has stopped.- Specified by:
sampleStopped
in interfaceSampleListener
- Parameters:
e
- theSampleEvent
that has stopped
-