jmeter响应数据服务器异常,jmeter 状态码为200,但是响应数据为何为空

@Wei_s: 意思就是说服务器就只写了200,没写body。

比如你想要的是A(http response包):

HTTP/1.1 200 OK

Cache-Control: private

Content-Type: text/plain; charset=utf-8

Content-Encoding: gzip

Vary: Accept-Encoding

Server: Microsoft-IIS/8.5

X-AspNet-Version: 4.0.30319

X-Powered-By: ASP.NET

Date: Tue, 16 Jan 2018 07:57:58 GMT

Connection: close

Content-Length: 3

ABC

但是服务器本来是这么写的B:

HTTP/1.1 200 OK

Cache-Control: private

Content-Type: text/plain; charset=utf-8

Content-Encoding: gzip

Vary: Accept-Encoding

Server: Microsoft-IIS/8.5

X-AspNet-Version: 4.0.30319

X-Powered-By: ASP.NET

Date: Tue, 16 Jan 2018 07:57:58 GMT

Connection: close

A的就是你想要看到的——"ABC",但是因为返回的是B这种。Are U 明白?