Non HTTP response code: org.apache.http.NoHttpResponseException (the target server failed to respond)
解決:修改httpclient4.idletimeout=<time in ms> 設置成自己覺得合理的時間,一般可設置成10-60s(表示連接空閒10s後纔會斷開),注意這邊單位是ms。修改完成後再次壓測,錯誤不再有了。
Non HTTP response code: org.apache.http.NoHttpResponseException (the target server failed to respond)
解決:修改httpclient4.idletimeout=<time in ms> 設置成自己覺得合理的時間,一般可設置成10-60s(表示連接空閒10s後纔會斷開),注意這邊單位是ms。修改完成後再次壓測,錯誤不再有了。