On 01/05/2011 04:57 PM, Nancy wrote:
> On Wed, Jan 5, 2011 at 11:15 PM, Felix Frank <[email protected]> wrote:
>>> I am little curious what occasion should use trhoughput Controllers,
>>> Can you give an example?
>>
>> If you know e.g. that your servers are supposed to sustain a load of
>> 2000 page interactions per minute, that's just what you can tell your
>> Throughput Controller to induce. Given enough Threads and computing
>> power in your load inducer, you can choose the exact load you wish to apply.
> 
> 2000 page interactions per minute, I am not sure? where you got that
> information? Any docs? or just an imaginary number?
> 
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Throughput_Controller
> says too little about throughput controller." For percent execution
> mode, a number from 0-100 that indicates the percentage of times the
> controller will execute. "50" means the controller will execute during
> half the iterations throught the test plan."
> 
> half of the iterations, including only 1 iteration(1 thread, 1 loop)?
> mutiple threads 1 loop? mutiple threads forever loop/several loops?

I'd assume that for each given thread, all children of the Throughput
Controller are evaluated X out of 100 times the Controller is looped
over. In your case

+ Thread Group
|+ Loop Controller
|-+ Throughput Controller 90%
|--+ Sampler1
|--+ Sampler2
|--+ ...
|-+ Throughput Controller 10%
|--+ Sampler10
|--+ ...

This should do roughly what you want. Bear in mind:

+ Thread Group ( 90 threads )
|+ Sampler 1
|+ ...
+ Thread Group ( 10 threads )
|+ Sampler 10
|+ ...

This will do the same mix with higher concurrency of the different tasks.

HTH,
Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to