jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: Probabalistic disribution of requests
Date Mon, 09 May 2005 10:40:28 GMT
If the only difference between the URLs is the parameter, the easiest
is probably to pre-generate a file containing a suitable mix of
values, and read them in using StringFromFile or CSVRead.

Or you could use the Switch Controller or 3 If Controllers.

The Switch Controller needs a number between 0 and 2. Can generate
this using the JavaScript or BeanShell functions. (Generate random
number and set it to 0,1,2 depending on the range)

The If Controller needs a JavaScript condition. This could check the
range of a previously generated random number.

Equally, the numbers required by the Switch or If Controllers could be
read from a file.

On 5/9/05, Dave McGuinness <> wrote:
> Hi guys,
> Quite new to JMeter.  I have managed to set it up to use 3 thread
> groups to call the same URL with three different parameters,
> "config1", "config2" and "config3".  The users are split 25-20-15
> between the interactions and therefore at any given time a fixed
> amount of users is executing (or queuing for) each transaction.  What
> I would like to do is to use just one thread group with 60 threads and
> have proabilities of 25-20-15 that it would call each of the three
> transactions (or some other equivalent way of doing this),
> Any help really appreciated,
> Thanks a lot,
> Dave
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message