Using JMeter to realize the change and deletion of MySQL database

Source: Internet
Author: User

  The main reference is the "use JMeter to create a database (Mysql) test".

My environment:

Mysql:mysql 5.6.21

JDBC Driver: I use 5.1.7, the lower version seems to have a problem, with this is no problem

jmeter:jmeter2.1.1

1. Open JMeter, click Test Plan

Click the "Browse" button to add the JDBC driver

2. Add Thread Group

JMeter performance testing, the most important is the thread group, the thread group is the equivalent of user activity

3. Add JDBC Connection Configuration

Configure JDBC with allowmultiqueries=true to execute multiple SQL statements

4. Add JDBC Request

Configure the JDBC Request page

Where Variable name is the same as the Variable name in the JDBC Connection configuration.

Add "View results tree" to see if the request was successful

Using JMeter to realize the change and deletion of MySQL database

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.