1.在test-plan下导入jmeter关于数据库的配置包;
2.在test-plan-右键-config Element--JDBC Connection Configuration中配置数据的信息
![](https://img.haomeiwen.com/i2848402/bd228f0059b07c58.png)
3.连接数据库
![](https://img.haomeiwen.com/i2848402/ffafabbee6af19e4.png)
4.运用数据库: Thread Group线程组-右键Add-Sampler-JDBC Request中写SQL就可以了
![](https://img.haomeiwen.com/i2848402/06ccf76911fcb4ae.png)
5.编写SQL语句就行了
![](https://img.haomeiwen.com/i2848402/d4f27b6976c09890.png)
1.在test-plan下导入jmeter关于数据库的配置包;
2.在test-plan-右键-config Element--JDBC Connection Configuration中配置数据的信息
3.连接数据库
4.运用数据库: Thread Group线程组-右键Add-Sampler-JDBC Request中写SQL就可以了
5.编写SQL语句就行了
本文标题:在jmeter中使用数据库
本文链接:https://www.haomeiwen.com/subject/gzxoqctx.html
网友评论