Class ThroughputController

    • Constructor Detail

      • ThroughputController

        public ThroughputController()
    • Method Detail

      • setStyle

        public void setStyle​(int style)
      • getStyle

        public int getStyle()
      • setPerThread

        public void setPerThread​(boolean perThread)
      • isPerThread

        public boolean isPerThread()
      • setMaxThroughput

        public void setMaxThroughput​(int maxThroughput)
      • setMaxThroughput

        public void setMaxThroughput​(String maxThroughput)
      • getMaxThroughput

        public String getMaxThroughput()
      • getMaxThroughputAsInt

        protected int getMaxThroughputAsInt()
      • setPercentThroughput

        public void setPercentThroughput​(float percentThroughput)
      • setPercentThroughput

        public void setPercentThroughput​(String percentThroughput)
      • getPercentThroughput

        public String getPercentThroughput()
      • getPercentThroughputAsFloat

        protected float getPercentThroughputAsFloat()
      • isDone

        public boolean isDone()
        Description copied from interface: Controller
        Indicates whether the Controller is done delivering Samplers for the rest of the test. When the top-level controller returns true to JMeterThread, the thread is complete.
        Specified by:
        isDone in interface Controller
        Overrides:
        isDone in class GenericController
        Returns:
        boolean
        See Also:
        Controller.isDone()
      • testStarted

        public void testStarted()
        Description copied from interface: TestStateListener

        Called just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.

        N.B. testStarted() and testEnded() are called from different threads.

        Specified by:
        testStarted in interface TestStateListener
        See Also:
        StandardJMeterEngine.run()
      • testStarted

        public void testStarted​(String host)
        Description copied from interface: TestStateListener

        Called just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.

        N.B. testStarted() and testEnded() are called from different threads.

        Specified by:
        testStarted in interface TestStateListener
        Parameters:
        host - name of host
        See Also:
        StandardJMeterEngine.run()
      • testEnded

        public void testEnded()
        Description copied from interface: TestStateListener

        Called once for all threads after the end of a test. This will use the same element instances as at the start of the test.

        N.B. testStarted() and testEnded() are called from different threads.

        Specified by:
        testEnded in interface TestStateListener
        See Also:
        StandardJMeterEngine.stopTest()
      • testEnded

        public void testEnded​(String host)
        Description copied from interface: TestStateListener

        Called once for all threads after the end of a test. This will use the same element instances as at the start of the test.

        N.B. testStarted() and testEnded() are called from different threads.

        Specified by:
        testEnded in interface TestStateListener
        Parameters:
        host - name of host
        See Also:
        StandardJMeterEngine.stopTest()