Sebb,

I've adjusted my Testplan as follows:

> Test Plan
  > Thread Group
    > HTTP Request
      > User Defined Variables (definition of rn1 and rn2)
      > User Parameters (defition of rn3)
    > View Results Tree

When I run this testplan I see in the first request that rn1 and rn2 are not 
evaluated, rn3 is evaluated. In the subsequent requests all 
variables/parameters are evaluated.

Conclusion: your suggestion to use Pre-Processor User Parameters works!

Thanks,
Bob


-----Original Message-----
From:   sebb [mailto:[EMAIL PROTECTED]
Sent:   Mon 15-11-2004 16:56
To:     JMeter Users List
Cc:    
Subject:        Re: User Parameters not evaluated in the firs request
Dunno without looking at the code, but it looks like the UDV is being
evaluated before the test has fully started.

Try using the Pre-Processor User Parameters instead.

S.

On Mon, 15 Nov 2004 16:41:41 +0100, Coret Bob <[EMAIL PROTECTED]> wrote:
>
> I´ve got the User Defined Variable "rn1" in my Thread Group defined as 
> "${__Random(0,3,rn1)}". I use this variable in the HTTP Request. The Thread 
> Group has a loop count of 6. When I look at the View Results Tree I see 
> "${__Random(0,3,rn1)}" in the first request, in the following requests I see 
> the desired effect (a random number). I see the same effect when I user 
> "rn2", which is defined as "${__javaScript(Math.floor(Math.random()*4),rn2)}".
>
> > Test Plan
>   > Thread Group
>     > User Defined Variables (rn1 and rn2)
>     > HTTP Request
>     > View Results Tree
>
> I don't see errors in the log...
> I'm using JMeter 2.0.1 on Windows XP with JRE 1.4.2_06.
>
> Any ideas what's causing the non-evaluation in the first request?
>
> Regards,
> Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to