当前位置:网站首页>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
边栏推荐
- How to pass the PMP Exam in a short time?
- What is the value of getting a PMP certificate?
- Selenium mouse sliding operation event
- OpenGL帧缓冲
- PMP Exam Preparation experience systematically improve project management knowledge through learning
- Postman interface debugging method
- Mysql数据库-锁-学习笔记
- Simulation volume leetcode [general] 1567 Length of the longest subarray whose product is a positive number
- MySql数据库-索引-学习笔记
- Postman interface test (I. installation and use)
猜你喜欢

C语言指针(特别篇)

Postman interface test (II. Set global variables \ sets)

External interrupt to realize key experiment

C语言指针(下篇)

2020 year end summary

How long does the PMP usually need to prepare for the exam in advance?

Ppt template and material download website (pure dry goods, recommended Collection)

2022-07-06 unity core 9 - 3D animation

The longest ascending subsequence model acwing 1017 Strange thief Kidd's glider

【Istio Network CRD VirtualService、Envoyfilter】
随机推荐
Serializer & modelserializer of DRF serialization and deserialization
With an annual salary of 50W, Alibaba P8 will come out in person to teach you how to advance from testing
H3C VXLAN配置
个人力扣题目分类记录
C语言指针(下篇)
2022-06-30 Unity核心8——模型导入
[chaosblade: node CPU load, node network delay, node network packet loss, node domain name access exception]
Postman interface debugging method
Serial port experiment - simple data sending and receiving
Troublesome problem of image resizing when using typora to edit markdown to upload CSDN
Simulation volume leetcode [general] 1705 The maximum number of apples to eat
Leetcode question brushing record (array) combination sum, combination sum II
【istio简介、架构、组件】
NVIC中断优先级管理
数据在内存中的存储
硬核分享:硬件工程师常用工具包
Selenium automation integration, eight years of testing experience, soft test engineer, an article to teach you
Unity Shader入门精要初级篇(一)-- 基础光照笔记
Systick tick timer
STM32的时钟系统