Sign up ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

As i am connecting to JDBC with jmeter im getting the error even though my url, jdbc driver class, username and password is provided correctly.

Below is the error :

2014/04/21 18:59:09 WARN - jmeter.protocol.jdbc.config.DataSourceElement: Could not return Connection java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@ at java.sql.DriverManager.getConnection( at java.sql.DriverManager.getConnection( at org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance( at org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable( at org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.newPoolable( at org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool.newPoolable( at org.apache.avalon.excalibur.pool.ResourceLimitingPool.get( at org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.get( at org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.getConnection( at org.apache.jmeter.protocol.jdbc.config.DataSourceElement$DataSourceComponentImpl.getConnection( at org.apache.jmeter.protocol.jdbc.config.DataSourceElement.getConnection( at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample( at org.apache.jmeter.threads.JMeterThread.process_sampler( at at

share|improve this question

1 Answer 1

up vote 1 down vote accepted

JMeter doesn't come with any JDBC driver shipped. Looking into stacktrace I can see that you're using Oracle and presumably 10g version. You need to download Oracle JDBC driver (or better fetch it from ORACLE_HOME/jdbc/lib, you'll need ojdbc6.jar as it matches Java 6 which is required for the latest JMeter) and drop it to /lib folder of your JMeter installation.

Also don't forget to properly set up JDBC Connection Configuration

See Using JDBC Sampler in JMeter guide for more useful tips.

share|improve this answer
@ Dmitri T thanks, i will make use of the website and say. – Emmanuel Angelo.R Apr 22 '14 at 7:33
thanks dmitri t it worked fine after inserting jar – Emmanuel Angelo.R May 9 '14 at 9:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.