一、添加JDBC 连接配置
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210523203959269.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2x1Y2lvX2x4bHg=,size_16,color_FFFFFF,t_70 width=“10%”#pic_center=600x400)
2、下载mysq-connector-java.jar包到jmeter的lib目录下
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210523204040376.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2x1Y2lvX2x4bHg=,size_16,color_FFFFFF,t_70 width=“10%”#pic_center=600x400)
3、添加jdbc 请求取样器
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210523204452948.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2x1Y2lvX2x4bHg=,size_16,color_FFFFFF,t_70 width=“10%”#pic_center=600x400)