You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Tim Wood <tw...@gmail.com> on 2007/08/23 18:29:48 UTC
seed for random controllers?
Hi,
How are the seeds chosen for the random controllers/timers in jmeter?
If I repeat a test twice, should I expect the same random times to be
chosen?
I would like to make my tests precisely repeatable -- is there
somewhere I should be setting a base seed?
thanks,
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: seed for random controllers?
Posted by sebb <se...@gmail.com>.
On 23/08/07, Tim Wood <tw...@gmail.com> wrote:
> Hi,
> How are the seeds chosen for the random controllers/timers in jmeter?
I think they use the current time.
> If I repeat a test twice, should I expect the same random times to be
> chosen?
No.
> I would like to make my tests precisely repeatable -- is there
> somewhere I should be setting a base seed?
Not at present; feel free to raise a Bugzilla enhancement request.
Or create a file of random numbers and use CSV Dataset to read them;
you can use the Switch Controller with one of these "random" numbers.
Or use a Javascript, JEXL or BeanShell function to provide the random numbers.
> thanks,
> Tim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org