You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by kh...@apache.org on 2001/11/19 23:36:46 UTC

cvs commit: jakarta-jmeter/docs/usermanual logic-controller.html

khammond    01/11/19 14:36:46

  Modified:    docs/usermanual logic-controller.html
  Log:
  Lots of text and image updates.
  
  Revision  Changes    Path
  1.2       +129 -2    jakarta-jmeter/docs/usermanual/logic-controller.html
  
  Index: logic-controller.html
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/docs/usermanual/logic-controller.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- logic-controller.html	2001/11/14 15:03:03	1.1
  +++ logic-controller.html	2001/11/19 22:36:45	1.2
  @@ -101,7 +101,27 @@
         </td></tr>
         <tr><td>
           <blockquote>
  -                                    <p>Put description text here...</p>
  +                                    <p>Logic Controllers let you customize the logic that JMeter uses to 
  +decide when to send requests.  JMeter currently has five such controllers:
  +<ul>
  +  <li><b>Interleave Controller</b> <br />Samples only one request instead of 
  +all requests in a Thread Group for each loop iteration.</li> 
  +
  +  <li><b>Loop Controller</b> <br />Tell JMeter to loop a certain number of times, 
  +in addition to the loop value you specified for the Thread Group.</li> 
  +
  +  <li><b>Modification Manager</b> <br />Lets you parse the results of previous
  +requests, and use them to dynamically modify the next request.  </li> 
  +
  +  <li><b>Once Only Controller</b> <br />Tells JMeter to send only one request. This
  +value overrides the loop value you specified for the Thread Group.</li> 
  +
  +  <li><b>Simple Controller</b> <br />This controller has not functionality except to
  +help you organize your controllers.</li> 
  +</ul>
  +</p>
  +                                                <p>You can add Generative Controllers (requests), Configuration Elements, and even
  +other Logic Controllers to a Logic Controller. </p>
                               </blockquote>
           </p>
         </td></tr>
  @@ -115,7 +135,114 @@
         </td></tr>
         <tr><td>
           <blockquote>
  -                                    <p>Put description text here...</p>
  +                                    <p>If you add requests to this controller, JMeter will alternate among each of the 
  +requests, sending only one request for each loop interation. For example, if you 
  +add three HTTP Requests to an Interleave Controller and configure the Thread
  +Group to loop, here is the sequence in which JMeter sends the requests:
  +</p>
  +                                                <table>
  +                        <tr>
  +                        <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                Loop Iteration
  +            </font>
  +</td>
  +                                <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                Description
  +            </font>
  +</td>
  +            </tr>
  +                                <tr>
  +                        <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                1
  +            </font>
  +</td>
  +                                <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                JMeter sends the first HTTP Request.
  +            </font>
  +</td>
  +            </tr>
  +                                <tr>
  +                        <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                2
  +            </font>
  +</td>
  +                                <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                JMeter sends the second HTTP Request.
  +            </font>
  +</td>
  +            </tr>
  +                                <tr>
  +                        <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                3
  +            </font>
  +</td>
  +                                <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                JMeter sends the third HTTP Request.
  +            </font>
  +</td>
  +            </tr>
  +                                <tr>
  +                        <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                4
  +            </font>
  +</td>
  +                                <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                Because there are no more requests in controller, JMeter start over and sends the first HTTP Request.
  +            </font>
  +</td>
  +            </tr>
  +                                <tr>
  +                        <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                5
  +            </font>
  +</td>
  +                                <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                JMeter sends the second HTTP Request.
  +            </font>
  +</td>
  +            </tr>
  +                                <tr>
  +                        <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                (and so on)
  +            </font>
  +</td>
  +                                <td bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
  +    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +                ...
  +            </font>
  +</td>
  +            </tr>
  +            </table>
  +                                                <p><a href="../demos/InterleaveTestPlan.jmx">Download</a> an example (see Figure 4.1).  In this example, 
  +the Thread Group
  +is configured for two threads with a loop count of five, for a total of ten iterations. JMeter sends the requests
  +in the following order: News Page, FAQ Page, and Gump Page. Note, the File Reporter
  +is configured to store the results in a file named "interleave-test.dat" in the current directory.</p>
  +                                                <p><img src="../images/screenshots/logic-controller/interleave.gif" width="368" height="210" />
  +<br>Figure 4.1. Interleave Controller Example 1</br></p>
  +                                                <p><a href="../demos/InterleaveTestPlan2.jmx">Download</a> another example (see Figure 4.2).  In this 
  +example, the Thread Group
  +is configured for a single thread with a loop count of eight.  Notice that the Test Plan has an outer Interleave Controller with
  +two Interleave Controllers inside of it.</p>
  +                                                <p>The outer Interleave Controller alternates between the
  +two inner ones.  Then, of course, each inner Interleave Controller alternates between each of the HTTP Requests.  JMeter
  +sends the requests in the following order: Home Page, Bug Page, CVS Page, and FAQ Page.
  +Note, the File Reporter is configured to store the results in a file named "interleave-test2.dat" in the current directory.</p>
  +                                                <p><img src="../images/screenshots/logic-controller/interleave2.gif" width="368" height="262" />
  +<br>Figure 4.2. Interleave Controller Example 2</br></p>
                               </blockquote>
           </p>
         </td></tr>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>