Jmeter pressure measurement error: Non HTTP response code: java.net.ConnectExceptionexception solution

When some time ago were jmeter pressure measurement, has been an error, see the log was found under a pile of newspaper non http response code: org.apache.http.connectionclosedexception, there is no direct jmeter sent to the server

 

I wanted to add a Constant Throughput Timer to be controlled in order to avoid qps error rate, but that is not the maximum pressure qps on the value of the server.

Think of several ways, also jmeter.properties in httpclienc.timeout turn up to try, or have the wrong

 

Finally tried the client implementation is configured java, the result of a miracle, do not send out error is avoided, the amount qps also come up

 

Summary: There are encryption and decryption of the case, the default HTTPClinet will automatically escape special characters in the POST, however, Java has not processed during transmission;

When jmeter send http request, implementation will have the following options

JAVA: http method is used JAVA JVM provided, but there are certain restrictions

HttpClient4.1: using Apache HttpClient4.1 member

Blank: Http using default request configuration or in jmeter.httpsample configuration jmeter.properties

 

Guess you like

Origin www.cnblogs.com/glumer/p/11363156.html