You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ch...@labware.com on 2008/09/18 19:30:05 UTC

Grouping Samplers in proxy and configuring timers in Jmeter

Hi All,
             I have recorded a Test Script using Jmeter Proxy . While 
recording I used the configuration called "Put each group in a new 
controller" . So obeying the documentation it actually created a Simple 
Controller for each group while storing all samples for that group in it . 
 So my test plan actually is looking like this now : And I added a 
constant timer (with 2 seconds delay) in the Thread group level. This is 
causing a a 2 second delay between all the requests which is more than 
intended .. What I really want is a 2 second delay between the first 
requests of  each group( ie between ReqA1 and ReqB1) and the delay between 
requests inside a group should be less than 500ms( ie between ReqA1 and 
ReqA2) .......How can I Achieve this ?
 
TestPlan
     Thread Group
      Constant Timer
      Simple Controller A
             ReqA1
             ReqA2
             ReqA3
      SimpleControllerB
             ReqB1
             ReqB2
             ReqB3

Actually first to keep things simple , I was trying to use the recording 
tool to use the "First Sampler of each group " only and then adding the 
timer at the thread group level . But when I played back the recorded 
script I wasn't getting the correct responses . Any reason as to why this 
would happen ? When I checked with View Results Tree Listener , there was 
also I was seeing all the smaller  requests by expanding the tree in the 
left hand pane . Why would such a setting not work and the previous 
setting work ? Any explanations would be really helpful. Was Jmeter 
actually sending all the requests or only the ones that I recorded ?

Regards,

Subhrajyoti 
Mobile: +919830079545
Mail: choudhury@labware.com
Web: www.labware.com

LabWare LIMS Solutions - Results Count

Re: Grouping Samplers in proxy and configuring timers in Jmeter

Posted by sebb <se...@gmail.com>.
On 18/09/2008, Choudhury@labware.com <Ch...@labware.com> wrote:
> Hi All,
>              I have recorded a Test Script using Jmeter Proxy . While
>  recording I used the configuration called "Put each group in a new
>  controller" . So obeying the documentation it actually created a Simple
>  Controller for each group while storing all samples for that group in it .
>   So my test plan actually is looking like this now : And I added a
>  constant timer (with 2 seconds delay) in the Thread group level. This is
>  causing a a 2 second delay between all the requests which is more than
>  intended .. What I really want is a 2 second delay between the first
>  requests of  each group( ie between ReqA1 and ReqB1) and the delay between
>  requests inside a group should be less than 500ms( ie between ReqA1 and
>  ReqA2) .......How can I Achieve this ?
>

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

>  TestPlan
>      Thread Group
>       Constant Timer
>       Simple Controller A
>              ReqA1
>              ReqA2
>              ReqA3
>       SimpleControllerB
>              ReqB1
>              ReqB2
>              ReqB3
>
>  Actually first to keep things simple , I was trying to use the recording
>  tool to use the "First Sampler of each group " only and then adding the
>  timer at the thread group level . But when I played back the recorded
>  script I wasn't getting the correct responses . Any reason as to why this
>  would happen ? When I checked with View Results Tree Listener , there was
>  also I was seeing all the smaller  requests by expanding the tree in the
>  left hand pane . Why would such a setting not work and the previous
>  setting work ? Any explanations would be really helpful. Was Jmeter
>  actually sending all the requests or only the ones that I recorded ?
>
>  Regards,
>
>  Subhrajyoti
>  Mobile: +919830079545
>  Mail: choudhury@labware.com
>  Web: www.labware.com
>
>  LabWare LIMS Solutions - Results Count

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