You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Aditi Seth (adseth)" <ad...@cisco.com> on 2007/08/29 22:55:31 UTC

controllers

Hi ,
I have a scenario where on each iteration a  random request is picked
from a set of requests. For the below example , either A or B or C is
picked after the user logon.  Random controller doesn't work , as it
only changes the order of requests during the iteration. Any ideas?
 
Thread Group
    - HTTP Cookie Manager
   -  Only Once controller
        - HTTP request to login 
  - Simple Controller 
        - HTTP request 1 (A)
        - HTTP request 2 (B)
        - HTTP request 3 (C)
 
Thanks,
-Aditi

Re: controllers

Posted by sebb <se...@gmail.com>.
On 29/08/2007, Aditi Seth (adseth) <ad...@cisco.com> wrote:
> Hi ,
> I have a scenario where on each iteration a  random request is picked
> from a set of requests. For the below example , either A or B or C is
> picked after the user logon.  Random controller doesn't work , as it
> only changes the order of requests during the iteration. Any ideas?
>
> Thread Group
>    - HTTP Cookie Manager
>   -  Only Once controller
>        - HTTP request to login
>  - Simple Controller

Simple Controller will execute the children in sequence; try the
Random Order Controller:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Random_Order_Controller

>        - HTTP request 1 (A)
>        - HTTP request 2 (B)
>        - HTTP request 3 (C)
>
> Thanks,
> -Aditi
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org