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&#xd;
        at java.net.PlainSocketImpl.socketConnect(Native Method)&#xd;
        at java.net.PlainSocketImpl.doConnect(Unknown Source)&#xd;
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)&#xd;
        at java.net.PlainSocketImpl.connect(Unknown Source)&#xd;
        at java.net.SocksSocketImpl.connect(Unknown Source)&#xd;
        at java.net.Socket.connect(Unknown Source)&#xd;
        at java.net.Socket.connect(Unknown Source)&#xd;
        at sun.net.NetworkClient.doConnect(Unknown Source)&#xd;
        at sun.net.www.http.HttpClient.openServer(Unknown Source)&#xd;
        at sun.net.www.http.HttpClient.openServer(Unknown Source)&#xd;
        at sun.net.www.http.HttpClient.&lt;init&gt;(Unknown Source)&#xd;
        at sun.net.www.http.HttpClient.New(Unknown Source)&#xd;
        at sun.net.www.http.HttpClient.New(Unknown Source)&#xd;
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)&#xd;
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
Source)&#xd;
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown 
Source)&#xd;
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)&#xd;
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)&#xd;
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)&#xd;
        at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)&#xd;
        at 
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)&#xd;
        at java.lang.Thread.run(Unknown Source)&#xd;
</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

Reply via email to