Class ThreadGroupWrapper

    • Method Detail

      • getTestClass

        public java.lang.Class<?> getTestClass()
        Description copied from interface: TestElementWrapper
        Test Class used by Jmeter TestElement.TEST_CLASS. @See TestElement.
      • getGuiClass

        public java.lang.Class<?> getGuiClass()
        Description copied from interface: JMeterGUIWrapper
        Gui Test Class used by Jmeter TestElement.GUI_CLASS @See TestElement
      • getDelay

        public java.lang.String getDelay()
        Startup delay (seconds).
      • setDelay

        public void setDelay​(java.lang.String delay)
        Startup delay (seconds).
      • getRampUp

        public java.lang.String getRampUp()
        Ramp-up period (seconds).
      • setRampUp

        public void setRampUp​(java.lang.String rampUp)
        Ramp-up period (seconds).
      • getLoops

        public java.lang.String getLoops()
        Number of iterations to use.
      • setLoops

        public void setLoops​(java.lang.String loops)
        Number of iterations to use.
      • getContinueForever

        public java.lang.Boolean getContinueForever()
        In spite of the name, this is actually used to determine if the loop controller is repeatable. The value is only used in nextIsNull() when the loop end condition has been detected: If forever==true, then it calls resetLoopCount(), otherwise it calls setDone(true). Loop Controllers always set forever=true, so that they will be executed next time the parent invokes them. Thread Group sets the value false, so nextIsNull() sets done, and the Thread Group will not be repeated. However, it's not clear that a Thread Group could ever be repeated.
      • setContinueForever

        public void setContinueForever​(java.lang.Boolean continueForever)
        In spite of the name, this is actually used to determine if the loop controller is repeatable. The value is only used in nextIsNull() when the loop end condition has been detected: If forever==true, then it calls resetLoopCount(), otherwise it calls setDone(true). Loop Controllers always set forever=true, so that they will be executed next time the parent invokes them. Thread Group sets the value false, so nextIsNull() sets done, and the Thread Group will not be repeated. However, it's not clear that a Thread Group could ever be repeated.
      • setScheduler

        public void setScheduler​(java.lang.Boolean scheduler)
        Specify Thread lifetime.
      • getScheduler

        public java.lang.Boolean getScheduler()
        Specify Thread lifetime.
      • getDelayedStartup

        public java.lang.Boolean getDelayedStartup()
        Specify Thread lifetime.
      • setDelayedStartup

        public void setDelayedStartup​(java.lang.Boolean delayedStartup)
        Specify Thread lifetime.
      • getDuration

        public java.lang.String getDuration()
        Duration (seconds).
      • setDuration

        public void setDuration​(java.lang.String duration)
        Duration (seconds).