jmeter中一次查询多条sql语句

1、在JDBC Connection Configuration 中Database URL 添加: ?allowMultiQueries=true
jmeter中一次查询多条sql语句

2、在测试计划页面添加一个用户定义的变量
jmeter中一次查询多条sql语句

3、
测试计划里面定义的变量,在SQL Query 直接用${id}引用
多条SQL语句时 Query Type: 选择【Callable Statement】
注意:常使用的Query Type有Select Statement和Update Statement
其中Select语句选择Select Statement,对于Insert、Update、Delect等语句选择Update Statement
jmeter中一次查询多条sql语句

4、

jmeter中一次查询多条sql语句

猜你喜欢

转载自blog.51cto.com/13729775/2414947
今日推荐