JMeter压测PostgreSQL

版权声明:转载请链接 https://blog.csdn.net/DPnice/article/details/83781374

步骤:

  1. 将PostgreSQL的驱动放在JMeter lib 目录下
  2. 创建线程组创建线程组
  3. 配置元件中配置JDBC Connection Configuration
  4. sampler中添加JDBC Request
  5. 添加一个图形结果
  6. 执行
JDBC Connection Configuration的配置

JDBC Connection Configuration的配置

Databases URL jdbc:postgresql://IP:Port/Databases
JDBC Driver class org.postgresql.Driver
JDBC Request

在这里插入图片描述

结果

在这里插入图片描述

详细说明:https://www.cnblogs.com/abcd19880817/p/7210047.html

猜你喜欢

转载自blog.csdn.net/DPnice/article/details/83781374