我在JMeter中運行腳本時遇到問題。我收到以下錯誤消息
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
有人知道如何解決嗎?
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
Copy the jars you want to use and drop in this location:
JMETER_HOME/lib
Then restart jmeter.