Use Jmeter to connect to Mysql graphic tutorial, jmetermysql
1, download the connection to mysql database jar package, address: http://www.bkjia.com/softs/214141.html
Note:To run the software properly, you need to install the Java environment. This site provides the Java software. You can click to download it.
2, copy the file to the Jmeter \ lib \ ext directory, my is: D: \ Program Files \ apache-jmeter-2.11 \ lib \ ext
Jmeter installation instructions see: http://www.bkjia.com/softjc/266834.html
3. Start Jmeter and Click Browse in the test plan to add the copied jar package.
4. Test Plan-add JDBC Connection Configuration
5. Configure database connection
Jdbc: mysql: // 192.168.1.141: 3306/bugfreecom. mysql. jdbc. Driverroot123456
Note: Replace the database IP address, database name, user name, and password.
6. Add a thread group-JDBC Request
7. Enter the variable name (must be consistent with the variable name in JDBC Connection Configuration) and the SQL statement.
8. Add a view result tree for execution