OK, I did a quick test and Random Variable node supports using variables to
set Min and Max value

The only way I was able to break it was to set Min value which was larger
than Max value (which produced error in log file ERROR -
jmeter.config.RandomVariableConfig: maximum(1) must be > minimum3 as
expected)

So you need to provide more info as to what do you mean by "this breaks the
random variable node", best if you provide jmeter.log

Nermin

-----Original Message-----
From: derekmw [mailto:[email protected]] 
Sent: 27. srpanj 2011 18:06
To: [email protected]
Subject: RE: Issues with JDBC Request and variables

Ok, so that helped me get a bit further. I noticed you can choose the output
format for Random Variable.  So I set the output format to be "member_0". 
This works great but I still have one problem.  When generating the random
variable, I do not want to hard code the max value.

I tried entering ${count_1} which is the count of 'members' returned from
another query.  However, this breaks the Random Variable node, and the
variable does not even get set.  I was so close. For now, I CAN set the
number manually to the number of members I know we have in the database (and
just increment it overtime as the members increase), but I would really love
to have this be dynamic.

Any other suggestions?

--
View this message in context:
http://jmeter.512774.n5.nabble.com/Issues-with-JDBC-Request-and-variables-tp
4635807p4639304.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]

Reply via email to