n the appropriate
> > > percentages, you can use just 4 samples.
> > >
> > > This can be done using a BSF/JSR223/BeanShell Pre-Processor to create
> > > a variable in the appropriate range.
> > >
> > > Pseudo-code:
> > > r=random[0-9]
>
> n={0,1,1,1,1,2,2,2,3,3}[r] // index the array
> >
> > Switch Controller ${n}
> >
> > Or you can create a CSV file with a suitable random mix of numbers and
> > use that to define the Switch variable
> >
> > > I'll bet you could come up wit
create a CSV file with a suitable random mix of numbers and
> use that to define the Switch variable
>
> > I'll bet you could come up with a couple more ways of tackling it if you
> > really tried, but hopefully these give you enough ideas to get by.
> >
> >
>
t you could come up with a couple more ways of tackling it if you
> really tried, but hopefully these give you enough ideas to get by.
>
>
>
> -Original Message-
> From: Philippe Bossu [mailto:pbo...@gmail.com]
> Sent: Wednesday, October 12, 2011 11:53 AM
> To: JMeter
From: Philippe Bossu [mailto:pbo...@gmail.com]
Sent: Wednesday, October 12, 2011 12:06 PM
To: JMeter Users List
Subject: Re: Question about ThrouputController
Unfortunately it is not either doing the job since sometimes 2 samplers
inside Random Order Controller are ran and sometimes 1.
On
iginal Message-
From: Philippe Bossu [mailto:pbo...@gmail.com]
Sent: Wednesday, October 12, 2011 11:53 AM
To: JMeter Users List
Subject: Re: Question about ThrouputController
Hello,
Thanks for this I tried it but I doesn't work .
I set 1 threads running 50 LOOP Count => I get 24 executions
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
>>> r
ed.
>>
>> 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
Message-
> From: Philippe Bossu [mailto:pbo...@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
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:pbo...@gmail.com]
Sent: Wednesday, October 12, 2011 10:13 AM
To: jmeter-user@jakarta.apache.org
Subject: Question about
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 m
11 matches
Mail list logo