Thank you, Sebb.

I checked the latest night build, and check the BeanShell timer. In fact,
what I want is just to let the delay() return the value of a function that
is different from the available timers.

However, I am not sure what kind of code is good for the interpreter to
understand. As far as I understand, it uses reflection, and all java code
should be OK. So the script should look like the content of a java method,
right? I am not sure about the aspects I need to consider for class loading.
Please comment.

Cheers,

Dong

On 4/8/06, sebb <[EMAIL PROTECTED]> wrote:
>
> I've no idea what you want to do.
>
> But the latest 2.1 code (see the nightly builds) includes a BeanShell
> Timer, so you can write whatever code you want; it just has to return
> a number that will be used as the delay (in ms).
>
> So the script:
>
> return 1234;
>
> would wait for 1.234 seconds.
>
> For further information, please read the JMeter Manual and the
> Beanshell documentation.
>
> S.
> On 07/04/06, Dong Liu <[EMAIL PROTECTED]> wrote:
> > Hi, folks,
> >
> > I want to customize the timer based on the Uniform Random Timer, say I
> want
> > to get the inter time = f(uniform random time). What is the easy way to
> do
> > that?
> >
> > Thanks,
> >
> > Dong
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to