Thanks. In some test run, I am getting both Connection Refused and Binding Exception (Address already used). So you are saying binding exception case, the connection never even sent out? Why is that? That address can't be used by any other process, not that I can think of. As I mention, server has to run at localhost:8080. And jmeter making connection to localhost:8080. For one port, there can be multiple socket opened. Why will i get that exception? After all, I still have 50% chance not getting that exception.
For connection refused, you are saying the connection has already gone to server for sure? I thought if the server can't handle the so many concurrent exception, it will time out the connections, rather than refuse it. So when will server time out connection vs refuse connection? I still think both exception link to the second call to connection.close(). I just don't understand the why jmeter code has to have that logic. See my posting above. Thanks. Shaoxian Yang -- View this message in context: http://www.nabble.com/java.net.BindException-returned-from-http-sampler-tp24716020p24727426.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org