Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 79774 invoked from network); 9 May 2006 16:35:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 16:35:40 -0000 Received: (qmail 38651 invoked by uid 500); 9 May 2006 16:35:29 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 38629 invoked by uid 500); 9 May 2006 16:35:29 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 38618 invoked by uid 99); 9 May 2006 16:35:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 09:35:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sebbaz@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 09:35:28 -0700 Received: by py-out-1112.google.com with SMTP id e30so1782378pya for ; Tue, 09 May 2006 09:35:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oGkFJYHW2nluC8mvbX7Ax3NBk0ct2kb9MRUBLvdIJN2skJdW4JyfZxG9KfUOOpcr9rRFqfWilFM1k9e0ne+FwhnRLyI3Me67InmAdh7u67iz5V33UkIsXQ/z7zlPqM2q4HzBXgBdFY896+qjyqQLK2dJAQOQuBVKLIzPDOrULDg= Received: by 10.35.8.1 with SMTP id l1mr2815980pyi; Tue, 09 May 2006 09:35:07 -0700 (PDT) Received: by 10.35.34.16 with HTTP; Tue, 9 May 2006 09:35:06 -0700 (PDT) Message-ID: <25aac9fc0605090935x60f15957ka57c6e2b77b7611a@mail.gmail.com> Date: Tue, 9 May 2006 17:35:07 +0100 From: sebb To: "JMeter Users List" Subject: Re: jmeter tries to reuse busy ports? In-Reply-To: <44603194.40802@eviltwinstudios.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44603194.40802@eviltwinstudios.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 09/05/06, Nikita Tovstoles wrote: > Hi, > > I am running JMeter and webapp being tested on the same machine. Could > someone please let me know whether the following http request error > message means that JMeter is trying to use a local (outbound) port that > is already in use (and that this is NOT a reponse from Tomcat webapp > being tested): The error message comes from JMeter, not Tomcat. In this case the error is generated by the default Java HTTP implementation, which is part of the Java installation. > > If so, does that mean JMeter is reusing a port on a subsequent request > without confirming that preceeding request's been completed? What can I > do about this? JMeter relies on Java to do the socket creation, so the error is in the Java library. You could try changing to the Apache HTTPClient HTTP Sampler. > -My test plan: > 40 Threads, each running one HTTP request at 200 ms interval. > -Summary Results = 13964 in 114.9s = 121.5/s Avg: 2 Min: 0 Max: 375 Err: > 30 (0.21%) > -using "Kill thread on error" - otherwise error *rate* seems to escalate > dramatically with time > -I see no exceptions/errors in Tomcat logs anywhere > -using JMeter 2.1.1 > thanks a lot, > > -nikita > PS. This is an awesomely helpful tool! > > threadName="Clients 1-11" label="Test Command" time="63" > responseMessage="Non HTTP response message" responseCode="Non HTTP > response code" success="false"> > − > > GET http://localhost:8081/envmanager/etsadmin?cmd=test > > > > − > > 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.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.(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:424) > > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514) > > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:503) > > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) > > at java.lang.Thread.run(Unknown Source) > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org