Use JMeter to create a database (MySQL) for testing (1)

Source: Internet
Author: User

Okay! I have always thought that I am not smart, so I wrote this article in the most detailed and clear way. I believe, what I can understand is something you can understand.

My environment: MySQL: mysql-essential-5.1.51-win32

Jdbc driver: I have uploaded to csdn last: http://download.csdn.net/source/3451945

JMeter: any version of The jmeter-2.4.

1. First, we need a database that can be tested. Of course, there must be data in it. Otherwise, how should we test it? My previous article "How to Use Eclipse to connect to a MySQL database", which teaches you how to insert data in batches through programs.

Let's take a look at my data:

I may be a bit wordy :) no matter what method you use, you need a bit of data in your database.

2.

Open JMeter and click test plan,

Click Browse... to add your JDBC driver.

3.

Add a thread group,

Right-click "thread group" and add a "JDBC Connection Configuration" below"


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.