问题:

使用postman请求接口正常,但是用jmeter请求接口存在问题,报502

 

解决办法:

使用 jmeter 报错502(使用postman请求时正常)_请求头

 

notes:jmeter 中如何添加请求头:​​https://jingyan.baidu.com/article/eb9f7b6d350578869364e823.html​