当前位置:网站首页>Jemter operation
Jemter operation
2022-07-07 09:13:00 【zhangyr0916】
1.jemter Cannot directly link to the database , One needs to be installed first jmeter Connect mysql Database files mysql-connector-java-5.1.7-bin.jar , Put in D:\apache-jmeter-5.4.1\lib Next
2. Download address :MySQL :: Download Connector/J
3. Connect to database
① Create a thread group
② Right click on the thread group to create JDBC Connection Configuration
③ To configure JDBC Connection Configuration
Variable Name for created pool: The name of the database connection pool , In the use of JDBC Request Connect through the connection pool name , So in use JDBC Request The name of the connection pool you enter at the time should be the same as JDBC Connection Configuration In the same ;
Connection Pool Configuration: Basic configuration defined , You can set it to the default value ;
Database Configuratio:
Database URL: For database URL,jdbc:mysql:// Server address : Listening port / Database name
JDBC Driver class:JDBC drive . It's usually com.mysql.jdbc.Driver or ort.gjt.mm.mysql.Driver
Username: The user name of the database
Password: Database password
④ Right click in the thread group , add to JDBC Request
⑤ To configure JDBC Request
Query Type: Query type . for example , Use select Use when querying Select Statement, Use delete Use... When deleting tables Update Statement
Query: Here you can use database operation statements
Parameter Name: Referenced parameter values
Parameter Type: Type of reference parameter value
Variable name: Use sql The variable name returned by the statement
Result Variable name: Define the name of a parameter to save sql The return value of the query result
Query time: Set timer time
Handle Result: Save type when saving parameters
⑥ function
ps: Run time appears Cannot load JDBC driver class 'com.mysql.jdbc.Driver' The error is reported because it is not installed mysql-connector-java-5.1.7-bin.jar package
边栏推荐
- Reflections on the way of enterprise IT architecture transformation (Alibaba's China Taiwan strategic thought and architecture practice)
- 【ChaosBlade:节点 CPU 负载、节点网络延迟、节点网络丢包、节点域名访问异常】
- Selenium automation integration, eight years of testing experience, soft test engineer, an article to teach you
- Digital triangle model acwing 275 Pass a note
- Entity of cesium data visualization (Part 1)
- On December 8th, 2020, the memory of marketing MRC application suddenly increased, resulting in system oom
- 硬件大熊原创合集(2022/06更新)
- Interpretation of MySQL optimization principle
- Systick tick timer
- Troublesome problem of image resizing when using typora to edit markdown to upload CSDN
猜你喜欢
C language pointer (special article)
Serial port experiment - simple data sending and receiving
NVIC interrupt priority management
串口实验——简单数据收发
Upgrade Alibaba cloud RDS (relational database service) instance to com mysql. jdbc. exceptions. Troubleshooting of jdbc4.communicationsexception
Common short chain design methods
JVM 垃圾回收 详细学习笔记(二)
How long does the PMP usually need to prepare for the exam in advance?
Two schemes of unit test
Reading notes of pyramid principle
随机推荐
端口复用和重映像
Port occupation troubleshooting
硬核分享:硬件工程师常用工具包
Postman interface test (II. Set global variables \ sets)
STM32 serial port register library function configuration method
【Istio Network CRD VirtualService、Envoyfilter】
PMP Exam Preparation experience, seek common ground while reserving differences, and successfully pass the exam
Common operating commands of Linux
Analysis of Hessian serialization principle
Golang etcdv3 reports an error. The attribute in grpc does not exist
OpenGL帧缓冲
C language pointer (Part 1)
【Istio Network CRD VirtualService、Envoyfilter】
MySQL common statements
Simulation volume leetcode [general] 1557 The minimum number of points that can reach all points
RuntimeError: Calculated padded input size per channel: (1 x 1). Kernel size: (5 x 5). Kernel size c
模拟卷Leetcode【普通】1706. 球会落何处
What are the suggestions for PMP candidates?
What is the value of getting a PMP certificate?
How can I apply for a PMP certificate?