Jmeter发送数据库请求(JDBC Request)报错

执行报错Zero date value prohibited

解决:添加?zeroDateTimeBehavior=CONVERT TO NULL

报错信息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 Connection Configuration的DataBase Url后面加上?serverTimezone=UTC

posted @ 2020-10-24 17:59  colorfully  阅读(321)  评论(0编辑  收藏  举报