Hi JMeter  Devlopers,
                 I am here with sending  you a PATCH file for bug id
12144 (Need a way to stop a TestPlan)


Bug id 12144:

  1.           For  this bug we provided  two method in the Controller
Interface
             /***************************
              * By using this method  if the Sampler fails deleted from
the collection list
              *  @param failed sampler
              **************************/
             public boolean removeSampler(Sampler sam);

             /***************************
             * By using this method  controll the  execution of the
TestPlan if sampler fails
             * @return int  0-continue the execution,1-stop
execution,2-remove sampler
             * and continue the execution
             ****************************/
             public int getExecController();

            These methods implemented in the  GenericController
,ThreadGroup class

    2. ExecutionPanel is provied in the each controller
                  All the controller had  one execution  panel in its
GUI. It contains    Three radio buttons in its panel. This panel is
created separetly and itegreated with  all the  Controller
GUI.(ThreadGroupGui,InterleaveControllerGui,RandomConrollerGui,OnceOnlyControllerGui,LoopControllerGui)

                           1.Radio Button (1) -if you select this
button  it  will  return as integer 0 in to the  getExecController
method
                           2.Radio Button (2) -if you select this
button  it  will  return as integer 1 in to the  getExecController
method
                           3.Radio Button (3) -if you select this
button  it  will  return as integer 2 in to the  getExecController
method

General   concepts:

For stopping the TestPlan we provided  three ways
    1.Continue TestPlan
    2.Stop TestPlan
    3.Remove the Sampler  and Continue the TestPlan
           in each controller. User can select these options in the
controller
GUI.

  1.Continue TestPlan
      In this condition any one of the sampler fails, it will continue
the TestPlan
  2.Stop TestPlan
     In this condition  any one  of the sampler fails, it will stop the
TestPlan
  3.Remove the Sampler and continue the TestPlan
     In this condition  any one of the sampler fails, it will remove the
failed
sampler and continue the testplan, so that the failed sampler will not
be
executed in the subsequent iterations

Regrads,
Elan

Attachment: Bugid12144.jar
Description: application/java-archive

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to