Jmeter中使用Selenium/Webdriver Supp
2018-03-15 本文已影响81人
小雪洁
一、安装Selenium/Webdriver Support插件,参考上一篇文档https://www.jianshu.com/p/a676ab7ae503
二、Jmeter中使用Webdriver Support插件
1、添加线程组
2、添加Firefox DriverConfig

3、添加Webdriver Sampler

4、在Webdriver Sampler中写一个登录脚本,可以参考官方文档http://www.jmeter-plugins.org/wiki/WebDriverSampler/

5、点击运行,脚本执行会启动火狐浏览器,进行登录操作。
查看聚合报告:
