0

I have the problem with running a script in JMeter. I get the following error message

Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'

Does anyone know how to solve it?

Screehshot

  • Please provide more info (driver version, DB version, connection settings...) . – Prome Mar 16 at 14:34
2

As per Let's Start chapter of JMeter Getting Started Guide

If you want to perform JDBC testing, then you will, of course, need the appropriate JDBC driver from your vendor. JMeter does not come with any JDBC drivers.

So make sure to download Oracle JDBC Driver and drop it to JMeter Classpath.

And don't forget to restart JMeter to pick the .jar up.

Also change "Validation Query" in the JDBC Connection Configuration to select 1 from dual

More information: The Real Secret to Building a Database Test Plan With JMeter

| improve this answer | |
0

Copy the jars you want to use and drop in this location:

JMETER_HOME/lib

Then restart jmeter.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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