sockets - Jmeter Error: Java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at -
jmeter environment details performing jmeter testing on microsoft azure cloud. have created on vm(virtual machine) on same cloud , there hitting application server on same cloud environment. in case there no network latency.
problem statement: trying run load test 300 users 30 mins , after 5 mins script started failing, because of socket connection refused error.
my analysis based on information available on net:
i have read somewhere problem because of limited socket connection limit on server, when run same test vm scripts run's fine. not server's issue. can please me resolve issue? there settings needs done in jmeter, increase socket connections?
actual screenshot of error enter image description here
most likely:
looks situation described @ connection reset since jmeter 2.10 ? wiki page. if you're absolutely sure nothing wrong server, can follow next recommendations:
- switch http request samplers "implementation" "httpclient4". fastest , easiest way of doing using http request defaults.
add next lines user.properties file (in jmeter's /bin folder)
httpclient4.retrycount=1 hc.parameters.file=hc.parameters
add (or uncomment , edit) following line in hc.parameters file
http.connection.stalecheck$boolean=true
alternative assumption:
"good" browsers send "connection: close" last request web server. "bad" browsers don't , keep connection open. can control behaviour via "use keepalive" checkbox in http request sampler/defaults. if it's unchecked - can try ticking it.
Comments
Post a Comment