I use __Random(1,100, temp) to generate a randomly selected number to be used
in selecting a form id. It works just fine:
http:......../dateentry.do?id=14;  (14 was randomly selected)

After that I need the selected number (14) to be used in all following
requests, so I tried to use the variable 'temp'  by manually placing ${temp}
in the Referer link:
http://........./dateentry.do?id=${temp}


hoping that 14 will be used. But it does not. Here is how it looks:
http:......../dateentry.do?id=${temp};

The debug sampler shows ${temp} instead of expected 14.




Where are you using the __Random function?  What does the debug sampler
show for ${temp}?

 

-----Original Message-----
From: ninab [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 28, 2008 1:48 PM
To: [email protected]
Subject: using 'temp' from __Random(1,100,temp) in following requests


How could I use a value from 'temp'?
Using it as  ${temp} in following requests doesn't work. 
The 'temp' is calculated once per user/session and should carry its
value throughout the session.

--
View this message in context:
http://www.nabble.com/using-%27temp%27-from-__Random%281%2C100%2Ctemp%29
-in-following-requests-tp16944347p16944347.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


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



-- 
View this message in context: 
http://www.nabble.com/using-%27temp%27-from-__Random%281%2C100%2Ctemp%29-in-following-requests-tp16944347p16945021.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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

Reply via email to