1. Purpose: With jmeter connect oracle to realize inquiry
2.jmeter configuration steps oracle
The jar is placed 2.1 package installation jmeter \ lib directory or can be added in the test plan.
After adding 2.2 restart jmeter, add the configuration element -JDBC Connection Configuration
2.3 Fill the configuration information elements:
database url: jdbc:oracle:thin:@IP地址:1521:orcl
username :ST_SXSZ_V4_r
password:XXXX
Add 2.4 sampler -JDBC Request
2.5 SUMMARY adding a polymerization reports, see the response after execution results
3. Before using the connection error: an error message is as follows:
2019-12-03 16:54:22,263 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.AbstractMethodError: oracle.jdbc.driver.T4CConnection.isValid(I)Z
3.1. First, add the jar package has ojdbc5, ojdbc6, ojdbc12 are used, but still reported such a mistake, jdk version is 1.8 or more.
3.2 Finally, the problem is resolved using ojdbc14-10.2.0.4.0.jar package