1

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

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

2 Answers 2

3

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

0

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

JMETER_HOME/lib

Then restart jmeter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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