参考 https://blog.csdn.net/five3/article/details/53842283
- 首先需要修改jmeter.properties文件
- 找到CookieManager.save.cookies=true并设置为true
- 保存配置文件重启jmeter
- 在需要取Cookie的线程里添加一个Http Cookie管理器
- 可以默认为空,但是一定要添加,否则是不会存储cookie变量的
用 ${COOKIE_xxxx}来获取
参考 https://blog.csdn.net/five3/article/details/53842283
用 ${COOKIE_xxxx}来获取