jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Lin" <wool...@gmail.com>
Subject Re: Is there any way of doing JDBC recording
Date Tue, 10 Jun 2008 16:14:54 GMT
you can try a network sniffer, but that would give you raw data and
not something jmeter can consume.

the other option is to have the client log the statements out to a
file and use it from jmeter

peter

On Tue, Jun 10, 2008 at 12:12 PM, gpthree <varghese.var@wipro.com> wrote:
>
> Hi,
>
> I am trying to load test an application (client - server) - thick client.
> Now most of the requests sent are JDBC and SOAP.
>
> Is there any way of recording these requests? If so can anyone please tell
> me how?
>
> Are there any other 3rd party tools that can help me record the jdbc
> requests??
>
> Can I sent multiple SQL queries in a single JDBC request??
>
> I have added a couple of JDBC requests and further a listner tree. I am
> getting the following error. Any idea what I am doing wrong?
> 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(StandardSocketFactory.java:173)
>        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:267)
>        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739)
>        at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
>        at
> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
>        at java.sql.DriverManager.getConnection(Unknown Source)
>        at java.sql.DriverManager.getConnection(Unknown Source)
>        at
> org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.java:185)
>        at
> org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable(ResourceLimitingPool.java:672)
>        at
> org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.newPoolable(ValidatedResourceLimitingPool.java:178)
>        at
> org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool.newPoolable(ResourceLimitingJdbcConnectionPool.java:123)
>        at
> org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimitingPool.java:402)
>        at
> org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.get(ValidatedResourceLimitingPool.java:130)
>        at
> org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.getConnection(ResourceLimitingJdbcDataSource.java:222)
>        at
> org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:79)
>        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
>        at java.lang.Thread.run(Unknown Source)
>
>
> ** END NESTED EXCEPTION **
>
> Thanks in advance
> --
> View this message in context: http://www.nabble.com/Is-there-any-way-of-doing-JDBC-recording-tp17759230p17759230.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Mime
View raw message