Hi,

Is there any way of recording JDBC requests in Jmeter?? If so how, or are there any third party tools available?

Can I post multiple SQL queries in the same JDBC requests?

Afer adding a couple of JDBC requests, I am getting the following error:
java.net.ConnectException
MESSAGE: Connection timed out: connect

STACKTRACE:

java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.java:173)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:2 67)
at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2739)
at com.mysql.jdbc.Connection.<init>(Connection. java:1553)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.apache.avalon.excalibur.datasource.JdbcConnect ionFactory.newInstance(JdbcConnectionFactory.java: 185)
at org.apache.avalon.excalibur.pool.ResourceLimitingP ool.newPoolable(ResourceLimitingPool.java:672)
at org.apache.avalon.excalibur.pool.ValidatedResource LimitingPool.newPoolable(ValidatedResourceLimiting Pool.java:178)
at org.apache.avalon.excalibur.datasource.ResourceLim itingJdbcConnectionPool.newPoolable(ResourceLimiti ngJdbcConnectionPool.java:123)
at org.apache.avalon.excalibur.pool.ResourceLimitingP ool.get(ResourceLimitingPool.java:402)
at org.apache.avalon.excalibur.pool.ValidatedResource LimitingPool.get(ValidatedResourceLimitingPool.jav a:130)
at org.apache.avalon.excalibur.datasource.ResourceLim itingJdbcDataSource.getConnection(ResourceLimiting JdbcDataSource.java:222)
at org.apache.jmeter.protocol.jdbc.sampler.JDBCSample r.sample(JDBCSampler.java:79)
at org.apache.jmeter.threads.JMeterThread.run(JMeterT hread.java:247)
at java.lang.Thread.run(Unknown Source)


** END NESTED EXCEPTION **


Any idea what I am doing wrong??
Thanks in advance