Use JMeter to connect to the Mysql graphics and text tutorial _mysql

Source: Internet
Author: User

1, download connection MySQL database jar package, address: http://www.jb51.net/softs/214141.html

Note: you want to run the software needs to install the Java environment , this site provides the Java software download address, the need for friends can click to download .

2, copy the file to the Jmeter\lib\ext directory, my is: D:\Program files\apache-jmeter-2.11\lib\ext

JMeter installation Use tutorial see: http://www.jb51.net/softjc/266834.html

3, start JMeter, in the test plan click Browse Add just copy 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 and database name and user name, password.

6. Add Thread group-jdbc Request

7, the input variable name (must be consistent with the variable name in the JDBC Connection configuration) and SQL statements.

8. Add View result tree execution

Related Article

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.