Sorry for not being clearer. Basically I meant 'break' as in, the variable
never gets set.  I do not see any logging occuring on jmeter.log, but I have
a View Results Tree node and here is my Debug Sampler response data.

First, when I don't use variables in the random variable node, you can see
RND is being set correctly:
JMeterVariables:
JMeterThread.last_sample_ok=false
JMeterThread.pack=org.apache.jmeter.threads.SamplePackage@62d962c
RND=member_1
START.HMS=073751
START.MS=1311863871752
START.YMD=20110728
TESTSTART.MS=1311865514488
count_#=1
count_1=1
members_#=1
members_1=1
ssng_db=org.apache.jmeter.protocol.jdbc.config.DataSourceElement$DataSourceComponentImpl@1ade25df

If I try entering a variable for the max (${count_1}), you see RND is not
even being set:
JMeterVariables:
JMeterThread.last_sample_ok=false
JMeterThread.pack=org.apache.jmeter.threads.SamplePackage@40185808
START.HMS=073751
START.MS=1311863871752
START.YMD=20110728
TESTSTART.MS=1311865569464
count_#=1
count_1=1
members_#=1
members_1=1
ssng_db=org.apache.jmeter.protocol.jdbc.config.DataSourceElement$DataSourceComponentImpl@7e3b9617

The fact that it's not being set I assumed meant it doesn't accept a
variable. If you say it works, I must be entering the variable incorrectly?

I have tried:
${count}
${count_1}
${__evalVar(${count})}
${__evalVar(${count_1})}

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Issues-with-JDBC-Request-and-variables-tp4635807p4643055.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to