You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Łukasz Żebrowski <lu...@rodan.pl> on 2005/09/22 14:35:35 UTC

Problem with Once Only Controller

Hi,
My test plan looks like this:
 
Thread Group (number of threads: 3, loop count: 3)
---Recording Controller
   --- Once Only Controller
       ---JavaRequest
   --- HTTP Request1
   --- HTTP Request2
   --- HTTP Request3
   --- HTTP Request4
   --- HTTP Request5
   --- HTTP Request6
   --- ...
 
 
Do you have idea why JavaRequest is executed for each user in each
iteration? I suppose it should be run only once in first iteration for
each user.
 
Greetings,
Łukasz Żebrowski
 

Re: Problem with Once Only Controller

Posted by sebb <se...@gmail.com>.
See:

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

Try removing the Recording Controller, or at least move the Once Only
controller outside its scope.

S.
On 22/09/05, Łukasz Żebrowski <lu...@rodan.pl> wrote:
> Hi,
> My test plan looks like this:
>
> Thread Group (number of threads: 3, loop count: 3)
> ---Recording Controller
>   --- Once Only Controller
>       ---JavaRequest
>   --- HTTP Request1
>   --- HTTP Request2
>   --- HTTP Request3
>   --- HTTP Request4
>   --- HTTP Request5
>   --- HTTP Request6
>   --- ...
>
>
> Do you have idea why JavaRequest is executed for each user in each
> iteration? I suppose it should be run only once in first iteration for
> each user.
>
> Greetings,
> Łukasz Żebrowski
>
>
>