性能测试-jmeter基础3-登录cookie问题

1、首先需要了解错误的原因,先打开jmeter的log查看

2、查找到日志后,具体定位问题

3、如果是地址跨domain的问题,可以查看http-cookie manager的帮助日志,可以找到答案

JMeter checks that received cookies are valid for the URL. This means that cross-domain cookies are not stored. If you have bugged behaviour or want Cross-Domain cookies to be used, define the JMeter property "CookieManager.check.cookies=false".

具体操作,在user property下,加上CookieManager.check.cookies=false即可

 

posted @ 2018-06-12 18:44  wing-小  阅读(284)  评论(0编辑  收藏  举报