jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Bossu <pbo...@gmail.com>
Subject Re: Question about ThrouputController
Date Wed, 12 Oct 2011 18:53:06 GMT
Hello,
Thanks for this I tried it but I doesn't work .
I set 1 threads running 50 LOOP Count => I get 24 executions

That's not what I want, I want 50 executions with the repartition, because
in this case If I have a sampler waiting for RandomController run result,
it will fail since it may not execute.
is it something possible ?

By the  way, percentages are not well respected.
7 / 24 => 30 % => I get 7 executions => OK
4 / 24 => 10% => I get 4 executions => KO
8/ 24 => I get 8 executions => 33% KO
5 / 24 => I get 5 executions => 20% OK


Regards
Philippe


On Wed, Oct 12, 2011 at 7:31 PM, David Parks <davidparks21@yahoo.com> wrote:

> I did this as follows:
>
> * Thread group (define how many requests should be going through at one
> time)
>  * Random Controller (pick any of the sub controllers at random each
> iteration)
>    * Throughput Controller A [10%, By Percent]
>    * Throughput Controller B [40%, By Percent]
>    * Throughput Controller C [30%, By Percent]
>    * Throughput Controller D [20%, By Percent]
>
> This generates randomly distributed load over Controllers A-D according to
> the percentages defined.
>
> I also threw in a timer at the Random Controller level to limit the
> requests
> to once every X seconds, this way I could define the number of threads as
> representative of an real-world active user.
>
> Hope that gives some food for thought.
>
>
> -----Original Message-----
> From: Philippe Bossu [mailto:pbossu@gmail.com]
> Sent: Wednesday, October 12, 2011 10:13 AM
> To: jmeter-user@jakarta.apache.org
> Subject: Question about ThrouputController
>
> Hello,
> First thank's for your help and great JMeter product.
>
> I have the following requirement.
> I would like to execute 4 different samples at the following frequence:
>
>    - 10% for A
>   - 40% for B
>   - 30% for C
>   - 20% for D
>
> A,B,C and D do search on different criterions.
> At least one of them must be executed because next sampler will use the
> search result.
>
>
> I tried to use ThroughputCOntroller but when I ran it once, none of the 4
> is
> executed.
> Random Controller does not do the job.
> InterleaveController as parent of TPC may be an option but I don't
> understand how to use it with others
> SwitchController might also be an option based on a question sebb answered
> to on the mailing list but how to randomize ?
>
>
> Thank you for your help.
> Regards
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message