【jmeter】使用jmeter做数据库压力测试
1、创建测试计划

2、创建线程组

3、创建JDBC连接

4、添加JDBC请求

6、添加数据库操作

7、添加结果报告

8、执行并查看结果

问题1、Cannot create PoolableConnectionFactory (The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.)
可以判断是时区问题, 增加时区设置
jdbc:mysql://localhost:3306/lotto?serverTimezone=UTC

再次执行查看结果

数据库连通成功
参考链接:
https://blog.csdn.net/u011724872/article/details/106853328/
https://www.cnblogs.com/czzz/p/15746888.html
https://www.pianshen.com/article/3648780480/
https://www.cnblogs.com/mao2080/p/9451612.html

浙公网安备 33010602011771号