selenium登录后的cookie交接给接口结合使用
一、下载webdriver插件(包含谷歌和火狐驱动),安装好之后需重启jmeter
二、在配置元件中添加jp@gc - Chrome Driver Config
三、配置浏览器驱动地址
四、添加jp@gc - WebDriver Sampler
五、执行selenium代码
六、由于跨线程,需要设置全局变量
七、直接调用变量