jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Ide <flyingrhenqu...@gmail.com>
Subject Re: Using values from DB for a HTTP request
Date Sat, 04 Jun 2011 17:33:56 GMT
I believe you always get an array, even if only 1 thing is returned. If you
request more than 1 column from the database you can use a comma separated
list of variables.

If you haven't tried a simple test to see what it does, I suggest doing so.
Just make a test with a JDBC Config data element, a view results tree
listener, a thread group, a JDBC query that sets variables and a debug
sampler. The debug sampler is your friend.

The two things you want to look at in the results tree after you run your
test are the JDBC request results tab and the debug sampler. Verify that
your JDBC results did, in fact, retrieve columns from the database. Then
look at the debug sampler and see how it created the variables for you to
use.

-- 
Bruce Ide
FlyingRhenquest@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message