Class 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
    • Field Summary

      • Fields inherited from interface org.apache.jmeter.testelement.TestElement

        COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.apache.jmeter.samplers.SampleResult sample)  
      List<AutoStopConditionElement> getConditions()  
      String getRegex()  
      TestStopper getTestStopper()  
      boolean isStats()  
      void sampleOccurred​(org.apache.jmeter.samplers.SampleEvent e)  
      void sampleStarted​(org.apache.jmeter.samplers.SampleEvent e)  
      void sampleStopped​(org.apache.jmeter.samplers.SampleEvent e)  
      void setClock​(Clock clock)  
      void setConditions​(List<AutoStopConditionElement> conditions)  
      void setRegex​(String regex)  
      void setTestStopper​(TestStopper testStopper)  
      void testEnded()  
      void testEnded​(String host)  
      void testStarted()  
      void testStarted​(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
      • Methods inherited from interface org.apache.jmeter.testelement.TestElement

        removed
    • Method Detail

      • getRegex

        public String getRegex()
      • setRegex

        public void setRegex​(String regex)
      • setTestStopper

        public void setTestStopper​(TestStopper testStopper)
      • add

        public void add​(org.apache.jmeter.samplers.SampleResult sample)
        Specified by:
        add in interface org.apache.jmeter.visualizers.Visualizer
      • isStats

        public boolean isStats()
        Specified by:
        isStats in interface org.apache.jmeter.visualizers.Visualizer
      • sampleOccurred

        public void sampleOccurred​(org.apache.jmeter.samplers.SampleEvent e)
        Specified by:
        sampleOccurred in interface org.apache.jmeter.samplers.SampleListener
      • sampleStarted

        public void sampleStarted​(org.apache.jmeter.samplers.SampleEvent e)
        Specified by:
        sampleStarted in interface org.apache.jmeter.samplers.SampleListener
      • sampleStopped

        public void sampleStopped​(org.apache.jmeter.samplers.SampleEvent e)
        Specified by:
        sampleStopped in interface org.apache.jmeter.samplers.SampleListener
      • testStarted

        public void testStarted()
        Specified by:
        testStarted in interface org.apache.jmeter.testelement.TestStateListener
      • testStarted

        public void testStarted​(String host)
        Specified by:
        testStarted in interface org.apache.jmeter.testelement.TestStateListener
      • testEnded

        public void testEnded()
        Specified by:
        testEnded in interface org.apache.jmeter.testelement.TestStateListener
      • testEnded

        public void testEnded​(String host)
        Specified by:
        testEnded in interface org.apache.jmeter.testelement.TestStateListener
      • setClock

        @VisibleForTesting
        public void setClock​(Clock clock)