Jmeter database connection methods and problems: Can not load JDBC driver class 'com.mysql.jdbc.Driver'

Database connection configuration

The following format: jdbc: mysql: // IP: port / test

JDBC request

 

 Run error: of Can not the Load JDBC Driver class 'com.mysql.jdbc.Driver'

Solutions are as follows:

  •  https://dev.mysql.com/downloads/connector/j/  the download package similar to the name of mysql-connector-java-5.1.47.zip
  • After extracting replication mysql-connector-java-5.1.47-bin.jar to E: \ apache-jmeter-4.0 \ lib or E: \ at apache-jmeter-4.0 \ lib \ ext path
  • Restart jmeter can be solved;

Guess you like

Origin www.cnblogs.com/shishibuwan/p/11227514.html