Use Jmeter to connect to Mysql graphic tutorial, jmetermysql

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.