1.JDBC Connection Configuration中配置Database URL时在URL后面添加  ?allowMultiQueries=true

jmeter-如何在JDBC Request中添加多条语句执行

2.JDBC Request中添加语句

  •  insert into-Query Type 选择 Prepared Update Statement
  • update      -Query Type 选择 Update Statement

jmeter-如何在JDBC Request中添加多条语句执行

 

(注:根据在网上查到的结果,说Query Type要选择Calleble Statement,不是很明白)

相关文章: