Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
JMeter异常:org.apache.http.MalformedChunkCodingException_Jmeter - Fatal编程技术网

JMeter异常:org.apache.http.MalformedChunkCodingException

JMeter异常:org.apache.http.MalformedChunkCodingException,jmeter,Jmeter,我在JMeter中为我的web应用程序的VPN上的50个用户运行负载测试场景,下面是一个例外。我已经在HTTP请求默认值下设置了Implementation=HTTPClient4,但是一些事务仍然存在异常 Response code: Non HTTP response code: org.apache.http.MalformedChunkCodingException Response message: Number of samples in transaction : 1, numbe

我在
JMeter
中为我的web应用程序的VPN上的50个用户运行负载测试场景,下面是一个例外。我已经在HTTP请求默认值下设置了
Implementation=HTTPClient4
,但是一些事务仍然存在异常

Response code: Non HTTP response code: org.apache.http.MalformedChunkCodingException
Response message: Number of samples in transaction : 1, number of failing samples : 1

该错误很可能表示您的或基础网络传输或两者都有问题。检查应用程序端和VPN服务器上的日志以获取任何线索,并向开发人员/网络管理员报告


如果您完全确定应用程序的行为符合预期,那么可以尝试将JMeter的HTTP协议实现切换到
Java
。您可以通过以下方式执行此操作-通过这种方式,您可以仅在一个位置应用所需的配置-更改将传播到HTTP请求默认值中的所有采样器(确保所有HTTP请求采样器的
实现
为空,因为本地更改覆盖了全局设置)

感谢您的响应。我已经通过设置Java和Blank实现以及HTTPClient4协议进行了检查,但仍然没有成功。我已经通过电子邮件向我的客户发送了检查网络策略/管理的电子邮件,以查看VPN和/或任何问题。