Jmeter pressure SQL Server database, how to set?

Source: Internet
Author: User
1. Before applying jmeter to pressure, there is an important port that needs to be manually found. This port is to be used in the third section.
Start--Program--microsoft SQL Server 2008r2--Configuration tool--sql Server Configuration Manager
Go to SQL Server configuration Manager, click on the SQL Server Network Config--mssqlserver protocol, select the right side of TCP/IP, right--Properties--click on the "IP Address" tab of TCP dynamic port
2. Download on-line: Sqljdbc4-3.0.jar into the jmeter lib directory;
3. Set the database url:jdbc:sqlserver://ip:port;databasename=dbname when setting the JDBC Connection setting in the JMeter
4. The JDBC driver class is constant, Com.microsoft.sqlserver.jdbc.SQLServerDriver
5. Username,password settings are correct.
6. JMeter when processing query statements, quotation marks are used only in single quotes and should be consistent with quoted single quotes in the database.
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.