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"