JMeter数据库压测

1.添加 配置元件 JDBC Connection Configuration,然后配置相关信息(注意填写 Variable Name for created pool 的值,后面会用到)

2.添加取样器 JDBC Request,然后配置相关信息(注意,将第一步 Variable Name for created pool 中写的值,填到 Variable Name of Pool declared in JDBC Connection Configuration 中)

3.运行就可以了

如果报没有驱动包,则将相关的驱动包放到 ~\apache-jmeter-5.6.2\lib\ext 中,并重启jmeter

点击数:15
创建时间:2025-09-12 19:00:48
更新时间:2025-09-12 19:02:21