Is your random controller broken because count returns "1" and you are trying 
to generate random values between 1 and 1? This might be the problem (based on first 
debug sampler), please check

You can temporarily disable your "count" select, go to the top of your test 
plan (or add User Defined Variables) and define the variable with the same name (count_1 
in your case) and assign it a value (say 50). See what happens in this case - hope this 
helps to narrow down the issue

Nermin


----- Original Message -----
On 05:08 PM 07/28/2011 derekmw wrote:
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$DataSou
rceComponentImpl@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$DataSou
rceComponentImpl@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-variable
s-tp4635807p4643055.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