Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 432C918BA3 for ; Thu, 31 Dec 2015 09:22:45 +0000 (UTC) Received: (qmail 55085 invoked by uid 500); 31 Dec 2015 09:22:44 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 55047 invoked by uid 500); 31 Dec 2015 09:22:44 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 55036 invoked by uid 99); 31 Dec 2015 09:22:44 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2015 09:22:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 55CD0C1CFC for ; Thu, 31 Dec 2015 09:22:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id CuS88zXnxhFd for ; Thu, 31 Dec 2015 09:22:43 +0000 (UTC) Received: from mail-yk0-f175.google.com (mail-yk0-f175.google.com [209.85.160.175]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id F149D20513 for ; Thu, 31 Dec 2015 09:22:42 +0000 (UTC) Received: by mail-yk0-f175.google.com with SMTP id x67so174810539ykd.2 for ; Thu, 31 Dec 2015 01:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pjWlHXkUDihDq7/mj1bNsAFm1XYwn6Vuo4YNV7G7mTg=; b=rkO53m6Aw0zNYFgAXR+2MTDnYK7h1c7PNcurC+KQQ0RSNpcjTtbz6XXKiS1NsK5loe 5E0LiVZtpz5jDcZOtu2VQlzgxn/JVOD7X6wwPg5PBqXmQg/8chjf7LskCGD/4KU8bPBf Q8arJ/rOoPJTIIdesdB1+9HuOoaHpGiUlkpQz1DS4ayosSQ1S/TTozjooi1PBHBYbNTl mrGtaKdxPxeJx2dhEIQNIQGkgJPTbGoM1QM7pdUICzJzKFs3hZJv06/6+itPynvc/xqi 1GDSkh/1an22xawk2PqdkhUMC6nQRWo+t359F406MwFPNGXcVaAZupHukcIjQTS2aeUg 4D8w== MIME-Version: 1.0 X-Received: by 10.129.138.195 with SMTP id a186mr50429072ywg.325.1451553755846; Thu, 31 Dec 2015 01:22:35 -0800 (PST) Received: by 10.129.101.198 with HTTP; Thu, 31 Dec 2015 01:22:35 -0800 (PST) In-Reply-To: References: Date: Thu, 31 Dec 2015 14:52:35 +0530 Message-ID: Subject: Re: Socket Closed Error during HTTP load test From: vidhi vinchhi To: Himanshu Ghai Cc: JMeter Users List Content-Type: multipart/alternative; boundary=94eb2c080440fd633905282e3134 --94eb2c080440fd633905282e3134 Content-Type: text/plain; charset=UTF-8 Hi Himanshu, sorry the jmeter logs says below on clicking stop buttton. 2015/12/31 14:48:27 WARN - jmeter.util.JMeterUtils: Interrupted in thread Thread Group 1-51 java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Unknown Source) at java.awt.EventQueue.invokeAndWait(Unknown Source) at java.awt.EventQueue.invokeAndWait(Unknown Source) at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) at org.apache.jmeter.util.JMeterUtils.runSafe(JMeterUtils.java:1322) at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.add(ViewResultsFullVisualizer.java:134) at org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:595) at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:571) at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84) at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:796) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:456) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261) at java.lang.Thread.run(Unknown Source) For successfully finished threads, below is the line i can seein logs. 2015/12/31 14:38:51 INFO - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-53 2015/12/31 14:38:51 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-53 Thanks, Vidhi. On Thu, Dec 31, 2015 at 2:45 PM, vidhi vinchhi wrote: > Hi Himanshu, > > please below my answers insline. > > 1) Does it start if you change the ramp up time to be longer say 60 > seconds? > Nope > 2) Do you see any errors in jmeter.log? > Same error. Socket closed it shows. > 3) Do the 7 working threads execute the requests fine? How fast > Send request fine if i see in View results tree listener. > > I have one question, when jmeter says socket closed what does it mean out > of below two: > > 1. Socket closed at server end so jmeter is not able to communicate any > more with server? Thats why it stucks in whichever state it is? > 2. Socket closed at client end ( My system ) so that jmeter can not more > send/receive any requests? in this case, jmeter should end the execution > based on timeout value configured and should not stuck. > > Thanks, > Vidhi. > > On Thu, Dec 31, 2015 at 2:35 PM, Himanshu Ghai > wrote: > >> 1) Does it start if you change the ramp up time to be longer say 60 >> seconds? >> 2) Do you see any errors in jmeter.log? >> 3) Do the 7 working threads execute the requests fine? How fast >> >> Himanshu >> >> >> On Wed, Dec 30, 2015 at 10:41 PM, vidhi vinchhi >> wrote: >> >>> Hi Himashu, >>> >>> Thank you for your reply. >>> >>> 1. The run is stuck means, say i have started run for 60 users with ramp >>> up period of 1 sec, Jmeter shows 7/60 and no progress after that even if I >>> wait for 1 hr. When I click on Stop button, all the pending ( 7) requests >>> are shown socket closed. >>> >>> Thanks, >>> Vidhi. >>> >>> On Thu, Dec 31, 2015 at 12:05 PM, Himanshu Ghai >>> wrote: >>> >>>> socket closed after pressing stop button may be okay. What do you >>>> mean when you say your run is stuck? are threads waiting on server >>>> to respond >>>> >>>> Himanshu >>>> >>>> On Wed, Dec 30, 2015 at 9:20 PM, vidhi vinchhi >>>> wrote: >>>> >>>> > Hi All, >>>> > >>>> > I am trying to perform load test for a website of my project. >>>> > >>>> > I am trying with 50 users with ramp up period of 1 sec. >>>> > >>>> > The isssue is that, after some time, my jmeter run stucks, and 6 yo 7 >>>> > thread remains unfinished. if I press stop button, The "View Results >>>> Tree" >>>> > listener says >>>> > >>>> > "Socket closed". >>>> > >>>> > Can anybody help me to resolve this issue? Developer says every is >>>> set to >>>> > unlimited on server side, then why Jmeter is reporting socket closed, >>>> it >>>> > should report completed response with connection timeout. but it >>>> stucks. >>>> > >>>> > Note: i have already implemented what is mentioned for >>>> > >>>> > httpclient4.retrycount=1 >>>> > hc.parameters.file=hc.parameters >>>> > >>>> > http.connection.stalecheck$Boolean=true >>>> > >>>> > But did not help. >>>> > >>>> > Can anybody help to resolve this?I am using Jmeter 2.13. >>>> > >>>> > >>>> > Thanks, >>>> > >>>> > Vidhi. >>>> > >>>> >>> >>> >> > --94eb2c080440fd633905282e3134--