本文以MySQL数据库为例。
1、下载jdbc mysql driver:链接:http://pan.baidu.com/s/1jHHJPuY 密码:hcd6
2、jmeter在测试计划中加载jdbc mysql driver
3、添加JDBC Connection Configuration
4、配置连接信息,注意填写Variable name,Database Url填写jdbc:mysql://数据库IP或hostname:端口号/数据库
5、创建JDBC request
6、填写Variable name与第4步中Variable name一致。写sql语句。
7、执行可在查看sql语句执行结果 
上一篇:允许chrome 浏览器运行 flash player
下一篇:cannot update mailbox /var/mail/root for user root. error writing messa ge: File too large