In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Download the jdbc driver (mysql-connector-java-5.1.28.jar) of MySQL and put it in the...\ apache-jmeter-3.3\ lib\ directory.
Driver download address: https://dev.mysql.com/downloads/connector/j/
2. Add the driver address under the test plan
3. Select thread group-add-configure original-JDBC Connection Configuration
4. Configure JDBC Connection Configuration
Variable Name: this name is customized and will be used in JDBC Request
Database URL:jdbc:mysql:// database IP address: database port / database name
JDBC Driver Class:com.mysql.jdbc.Driver
Username: database connection user name
Password: database connection password
5. Add JDBC Request
The Variable Name in JDBC Request is the same as the Variable Name in JDBC Connection Configuration.
Query Type: you can choose the type of sql, query, modify or delete operation.
6. Add the view result tree to see whether the data response is correct.
Note: if you want to execute multiple SQL statements at one time, each SQL statement is separated by a semicolon (;), but add a parameter-allowMultiQueries=true at the end of configuring Database URL in JDBC Connection Configuration, and Quer Type must select Callable statement, as shown in the following figure:
The result is perfect, the mood is very happy ~
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.