org.apache.jmeter.reporters

Class ResultAction

Implemented Interfaces:
Cloneable, Serializable, SampleListener, Serializable, TestElement

public class ResultAction
extends OnErrorTestElement
implements Serializable, SampleListener

ResultAction - take action based on the status of the last Result

Field Summary

Fields inherited from class org.apache.jmeter.testelement.OnErrorTestElement

ON_ERROR_ACTION, ON_ERROR_CONTINUE, 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

ResultAction()

Method Summary

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.

Methods inherited from class org.apache.jmeter.testelement.OnErrorTestElement

getErrorAction, isContinue, isStopTest, isStopTestNow, isStopThread, setErrorAction

Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement

addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty

Constructor Details

ResultAction

public ResultAction()

Method Details

sampleOccurred

public void sampleOccurred(SampleEvent e)
Examine the sample(s) and take appropriate action
Specified by:
sampleOccurred in interface SampleListener

sampleStarted

public void sampleStarted(SampleEvent e)
A sample has started.
Specified by:
sampleStarted in interface SampleListener

sampleStopped

public void sampleStopped(SampleEvent e)
A sample has stopped.
Specified by:
sampleStopped in interface SampleListener

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