Creating a Database (Mysql) test using JMeter

Source: Internet
Author: User
Turn from the insect master: http://www.cnblogs.com/fnng/archive/2011/07/26/2117600.html My environment: Mysql:mysql-essential-5.1.51-win32 JDBC Driver: I have uploaded to Csdn previous: http://download.csdn.net/source/3451945 jmeter:jmeter-2.4 any version of the line. 1. First we have a database that can be tested, of course, there must be data, or how to measure it? In my previous article, Eclipse connects to MySQL database (fool's article), which teaches you how to bulk insert data through a program. Take a look at my data: I may be a bit verbose: no matter how you use it, there's a bit of data in your database. 2. Open JMeter, click Test Plan, click "Browse ..." button to add your JDBC driver. 3. Add a thread group, right-click on "Thread Group" and add a "JDBC Connection configuration" below to configure the JDBC Connection config page. 4. Right click on "Thread Group" and add a "JDBC request" below 5. Add an assertion. Right-click the thread group----> Add---> Assert----> Response assertion. 6. Let's add some listeners to the line to view the add an assertion result: Right-click on the thread group----> Add---> Listener----> Result assertion. Add a graphical result: Right-click the thread group----> Add---> Listener----> Graphical results. Add a View results tree: Right-click the thread group----> Add---> Listener----> View the results tree. Here is a list of all the things to add: 7. Thread Group page set number of users, start time, number of cycles click the menu bar "Run"----"Start" below is the result:

Creating a Database (Mysql) test using JMeter

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.