Hi, My test is simple. Just hit one url (http://localhost:8080/appurl) using thread group, where there will be 1000/100 concurrent clients, and each client loop for 2000 times.
However, I notice that some thread fail with the following message. What does it mean? I ran tomcat server and jmeter in one signle machine. The tomcat runs on localhost:8080. And jmeter will connect to localhost:8080. I understand that web server only handle some amount of concurrent requests at a time. But since my server logic is quite simple. I expect all the request come back very quickly. Even if it is because there is no open connection (since all connections are serving requests), i shall see some connection timeout, instead of binding exception. Any thought on this? Thanks. <httpSample t="3" lt="0" ts="1248859115831" s="false" lb="HTTPRequestSampler" rc="Non HTTP response code: java.net.BindException" rm="Non HTTP response message: Address already in use: connect" tn="getAllCategoryGroup 1-82" dt="text" de="ISO-8859-1" by="1473" sc="1" ec="1" ng="1" na="1" hn="DH3C8QJ1"> <responseHeader class="java.lang.String"></responseHeader> <requestHeader class="java.lang.String">Connection: close </requestHeader> <responseData class="java.lang.String">java.net.BindException: Address already in use: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at sun.net.NetworkClient.doConnect(Unknown Source)
 at sun.net.www.http.HttpClient.openServer(Unknown Source)
 at sun.net.www.http.HttpClient.openServer(Unknown Source)
 at sun.net.www.http.HttpClient.<init>(Unknown Source)
 at sun.net.www.http.HttpClient.New(Unknown Source)
 at sun.net.www.http.HttpClient.New(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
 at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
 at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
 at java.lang.Thread.run(Unknown Source)
 </responseData> <responseFile class="java.lang.String"></responseFile> <cookies class="java.lang.String"></cookies> <method class="java.lang.String">GET</method> <queryString class="java.lang.String"></queryString> <java.net.URL>http://localhost:8080/TestPodCast/TestPodCastServlet?test=testAllCategory</java.net.URL> </httpSample> -- View this message in context: http://www.nabble.com/java.net.BindException-returned-from-http-sampler-tp24716020p24716020.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