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即可