Basic information on the JDBC Request.
In the Test Plan Node, You can add you JDBC Driver or in the directory Jmeter_Home/lib
Simple Test Plan:
You have to enter in the database connection configuration the JDBC URL and the Driver Class
select 11 as FirstColumn, 21 as SecondColumn from dual
union
select 12, 22 from dual
union
select 13, 23 from dual
You can then use this variable in a new component such as a JDBC Request with for instance the following SQL:
select ${FirstVariableName_1} from dual
It will return:
11
You may get this error in the Response data
Could not create enough Components to service your request (Timed out).
and this exception in the sampler result
org.apache.avalon.excalibur.datasource.NoAvailableConnectionException
It means that a users (threads) can not get a Jdbc Connection in your thread pool when the wait time of the Pool Timeout is over, you get this message.
To resolve this problem, you can try to increase :