Class AutoStopTestBean
- java.lang.Object
-
- org.apache.jmeter.testelement.AbstractTestElement
-
- org.apache.jmeter.reporters.AbstractListenerElement
-
- us.abstracta.jmeter.javadsl.core.listeners.autostop.AutoStopTestBean
-
- All Implemented Interfaces:
Serializable,Cloneable,org.apache.jmeter.engine.util.NoThreadClone,org.apache.jmeter.gui.Searchable,org.apache.jmeter.samplers.SampleListener,org.apache.jmeter.testbeans.TestBean,org.apache.jmeter.testelement.TestElement,org.apache.jmeter.testelement.TestStateListener,org.apache.jmeter.visualizers.Visualizer
public class AutoStopTestBean extends org.apache.jmeter.reporters.AbstractListenerElement implements org.apache.jmeter.testbeans.TestBean, org.apache.jmeter.samplers.SampleListener, org.apache.jmeter.testelement.TestStateListener, org.apache.jmeter.engine.util.NoThreadClone, org.apache.jmeter.visualizers.Visualizer- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AutoStopTestBean()AutoStopTestBean(Pattern regex, List<AutoStopConditionElement> conditions, TestStopper testStopper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(org.apache.jmeter.samplers.SampleResult sample)List<AutoStopConditionElement>getConditions()StringgetRegex()TestStoppergetTestStopper()booleanisStats()voidsampleOccurred(org.apache.jmeter.samplers.SampleEvent e)voidsampleStarted(org.apache.jmeter.samplers.SampleEvent e)voidsampleStopped(org.apache.jmeter.samplers.SampleEvent e)voidsetClock(Clock clock)voidsetConditions(List<AutoStopConditionElement> conditions)voidsetRegex(String regex)voidsetTestStopper(TestStopper testStopper)voidtestEnded()voidtestEnded(String host)voidtestStarted()voidtestStarted(String host)-
Methods inherited from class org.apache.jmeter.reporters.AbstractListenerElement
clone, getVisualizer, setListener
-
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, 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 Detail
-
AutoStopTestBean
public AutoStopTestBean()
-
AutoStopTestBean
public AutoStopTestBean(Pattern regex, List<AutoStopConditionElement> conditions, TestStopper testStopper)
-
-
Method Detail
-
getRegex
public String getRegex()
-
setRegex
public void setRegex(String regex)
-
getConditions
public List<AutoStopConditionElement> getConditions()
-
setConditions
public void setConditions(List<AutoStopConditionElement> conditions)
-
getTestStopper
public TestStopper getTestStopper()
-
setTestStopper
public void setTestStopper(TestStopper testStopper)
-
add
public void add(org.apache.jmeter.samplers.SampleResult sample)
- Specified by:
addin interfaceorg.apache.jmeter.visualizers.Visualizer
-
isStats
public boolean isStats()
- Specified by:
isStatsin interfaceorg.apache.jmeter.visualizers.Visualizer
-
sampleOccurred
public void sampleOccurred(org.apache.jmeter.samplers.SampleEvent e)
- Specified by:
sampleOccurredin interfaceorg.apache.jmeter.samplers.SampleListener
-
sampleStarted
public void sampleStarted(org.apache.jmeter.samplers.SampleEvent e)
- Specified by:
sampleStartedin interfaceorg.apache.jmeter.samplers.SampleListener
-
sampleStopped
public void sampleStopped(org.apache.jmeter.samplers.SampleEvent e)
- Specified by:
sampleStoppedin interfaceorg.apache.jmeter.samplers.SampleListener
-
testStarted
public void testStarted()
- Specified by:
testStartedin interfaceorg.apache.jmeter.testelement.TestStateListener
-
testStarted
public void testStarted(String host)
- Specified by:
testStartedin interfaceorg.apache.jmeter.testelement.TestStateListener
-
testEnded
public void testEnded()
- Specified by:
testEndedin interfaceorg.apache.jmeter.testelement.TestStateListener
-
testEnded
public void testEnded(String host)
- Specified by:
testEndedin interfaceorg.apache.jmeter.testelement.TestStateListener
-
setClock
@VisibleForTesting public void setClock(Clock clock)
-
-