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 5B5FE106E8 for ; Fri, 26 Jul 2013 13:02:58 +0000 (UTC) Received: (qmail 41732 invoked by uid 500); 26 Jul 2013 13:02:57 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 41527 invoked by uid 500); 26 Jul 2013 13:02:56 -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 41517 invoked by uid 99); 26 Jul 2013 13:02:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 13:02:55 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of praumesh86@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-wg0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 13:02:47 +0000 Received: by mail-wg0-f47.google.com with SMTP id j13so2829710wgh.14 for ; Fri, 26 Jul 2013 06:02:26 -0700 (PDT) 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 :content-type; bh=4uLIB8jV2xbEtB9bTeim+0HzcZPRCQf5t9qDYZ5x5b8=; b=MKKsoZqNO16Q9OOasSliTqEiUhIPaXeVLd+cPsvuItOa0iXNTUYekYeTo3YzkPOlgW N8AMBI8pg+Hv8uZ5uoWwc/xq3Etl0tA9Xxd5Q0YClIUF+IceOxAy+LAAkvRtveTF5C4n UzOOAPG+i7TL0ZIuaLL84MANmhoScFA+uCO2GAk6xnwsKeWu1/iOFyHP3qoa6rPRHBFV wAxCPWFcoJnDp7v/NYM3aEZhxL622pG2p03NpE8wvOs6PPf0NTB6k5D6k10cR0Hr6UOQ zqtOX63223wDpfjmZbvak78ORnEoiI06ez++Z1ZJDYro8HU6CK1Qic/NflZeZNmGevgM mHUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4uLIB8jV2xbEtB9bTeim+0HzcZPRCQf5t9qDYZ5x5b8=; b=jorJaqsrZIYTQZv5tQt20OpwCHHuyG0c7PDw7JWkmTWa/C3BC1Xj8jwtSPTc3qbOhb wjGECxIsB1YWVG36rCYv6lU/XU+fgjh8csaja40RJ6/SHCSUkNaPKIwdjnscwQlCzbXB Iy0dxvMMoI9yHCAjQQl/NxFf/ia/WqLoIqWqelnQ6d7fGpk5bhvLtOEqD2cNzgMTBB+t 7LCUx9fKndMe8e3q7Gc+yWcp+7+1/jgEpMfWUvj/0B/46WuY07KtQjzOKQG+ya1qAbdK SG35Sd7Xx1WhYVXSUvzqdc/eRPXzDKJuleXJ3OJqTV4poFyC4nyJxpbOTy1vQSWKC1Dh YqzA== MIME-Version: 1.0 X-Received: by 10.180.36.74 with SMTP id o10mr5615207wij.23.1374843746821; Fri, 26 Jul 2013 06:02:26 -0700 (PDT) Received: by 10.194.164.70 with HTTP; Fri, 26 Jul 2013 06:02:26 -0700 (PDT) Received: by 10.194.164.70 with HTTP; Fri, 26 Jul 2013 06:02:26 -0700 (PDT) In-Reply-To: <1374811102.60858.YahooMailNeo@web142505.mail.bf1.yahoo.com> References: <1374810185.87152.YahooMailNeo@web142501.mail.bf1.yahoo.com> <1374811102.60858.YahooMailNeo@web142505.mail.bf1.yahoo.com> Date: Fri, 26 Jul 2013 06:02:26 -0700 Message-ID: Subject: Re: Error running the Test From: umesh prajapati To: JMeter Users List Content-Type: multipart/alternative; boundary=e89a8f502ee626ab9004e269c1a9 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f502ee626ab9004e269c1a9 Content-Type: text/plain; charset=ISO-8859-1 It goes through with low load and will upload comolete thread in next email On Jul 25, 2013 8:58 PM, "Kiran" wrote: > Try reducing the load and see if it get through. > > Also post the complete trace.Half the trace will not tell us anything. > - Kiran > > > > ________________________________ > From: umesh prajapati > To: JMeter Users List > Sent: Thursday, July 25, 2013 11:47 PM > Subject: Re: Error running the Test > > > 50 users n 5 loop > Number of errors varies every time I run the test > On Jul 25, 2013 8:43 PM, "Kiran" wrote: > > > Probably you seems to be losing connnections. Chunked response needs > > connections to be kept alive. > > > > How many threads are you running and how many are erroring out ? > > > > With Regards, > > Kiran Badi > > Email:kiranbadi@yahoo.com > > Ph- US-(+01)6462013101 > > > > > > ________________________________ > > From: umesh prajapati > > To: JMeter Users List > > Sent: Thursday, July 25, 2013 11:12 PM > > Subject: Re: Error running the Test > > > > > > The reason it was sending different request was cookies were not cleared. > > > > After I checked mark the clear cookie in the cookie header. I ran the > test > > again. and compared the request (of the user who successfully login on > the > > first loop and were not able to login in the 2nd loop) I was not able to > > find any difference on the request. But I am still getting this error on > my > > server log. > > > > ERROR[24-Jul-13 12:34:57] [http-0.0.0.0-9085-4] > > [ChunkedInputStream.parseTrailerHeaders()] > > - Error parsing trailer headers > > org.apache.commons.httpclient.ProtocolException: Unable to parse > header: > > HTTP/1.1 200 OK > > at > > > org.apache.commons.httpclient.HttpParser.parseHeaders(HttpParser.java:202) > > at > > > > > org.apache.commons.httpclient.ChunkedInputStream.parseTrailerHeaders(ChunkedInputStream.java:322) > > at > > > > > org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:226) > > > > > > > > On Thu, Jul 25, 2013 at 8:09 PM, umesh prajapati > >wrote: > > > > > After I checked mark the clear cookie in the cookie header. I ran the > > test > > > again. and copied the request of the user who successfully login on the > > > first loop and were not able to login in the 2nd loop. > > > > > > > > > On Thu, Jul 25, 2013 at 4:52 PM, sebb wrote: > > > > > >> On 25 July 2013 23:29, umesh prajapati wrote: > > >> > Sorry I was wrong about saying that the request was identical..I > > >> realized > > >> > the request being send was different. > > >> > > >> What is the difference? > > >> > > >> > But I am wondering why is it sending different request for same > user? > > >> > > >> A bug in the test script? > > >> > > >> > > > >> > On Thu, Jul 25, 2013 at 3:19 PM, umesh prajapati < > > praumesh86@gmail.com > > >> >wrote: > > >> > > > >> >> number of users: 50 > > >> >> ramp up period: 90 > > >> >> loop count: 5 > > >> >> > > >> >> So when I just ran this, on the view result tree I see that 3 users > > >> were > > >> >> not able to login the first time(first loop) but during the 2-5 > loops > > >> they > > >> >> were successfully able to login. > > >> >> > > >> >> > > >> >> > > >> >> On Thu, Jul 25, 2013 at 12:42 PM, sebb wrote: > > >> >> > > >> >>> On 25 July 2013 17:32, umesh prajapati > > wrote: > > >> >>> > No difference on the request tab...I will go ahead and try > > changing > > >> the > > >> >>> > jmeter property and give it a try > > >> >>> > > >> >>> If the requests are identical, then it is starting to look like a > > >> >>> load-related issue - possibly a threading issue - at the servr. > > >> >>> > > >> >>> How many threads are you running? > > >> >>> > > >> >>> > > > >> >>> > On Thu, Jul 25, 2013 at 9:25 AM, sebb wrote: > > >> >>> > > > >> >>> >> On 25 July 2013 17:02, umesh prajapati > > >> wrote: > > >> >>> >> > jmeter logs: > > >> >>> >> > 2013/07/25 08:59:17 INFO - > > >> >>> >> > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$4: I/O > > >> exception > > >> >>> >> > (java.net.SocketException) caught when processing request: > > >> Connection > > >> >>> >> reset > > >> >>> >> > 2013/07/25 08:59:17 INFO - > > >> >>> >> > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$4: > Retrying > > >> >>> request > > >> >>> >> > 2013/07/25 08:59:20 INFO - > > >> >>> >> > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$4: I/O > > >> exception > > >> >>> >> > (java.net.SocketException) caught when processing request: > > >> Connection > > >> >>> >> reset > > >> >>> >> > 2013/07/25 08:59:20 INFO - > > >> >>> >> > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$4: > Retrying > > >> >>> request > > >> >>> >> > > >> >>> >> Try setting the property > > >> >>> >> > > >> >>> >> httpclient4.retrycount=0 > > >> >>> >> > > >> >>> >> in jmeter.properties > > >> >>> >> > > >> >>> >> (will be the default for JMeter 2.10) > > >> >>> >> > > >> >>> >> This will report the error on the first sample, which is > > generally > > >> >>> >> what you want for performance testing. > > >> >>> >> Automatic retries can add unexpected traffic. > > >> >>> >> > > >> >>> >> > > > >> >>> >> > On Thu, Jul 25, 2013 at 8:47 AM, umesh prajapati < > > >> >>> praumesh86@gmail.com > > >> >>> >> >wrote: > > >> >>> >> > > > >> >>> >> >> I am looking at the view result tree (sample result > tab)...The > > >> >>> users who > > >> >>> >> >> were able to login has load time (1000-3000) but the users > who > > >> were > > >> >>> not > > >> >>> >> >> able to login has load time (60467-303469) > > >> >>> >> >> > > >> >>> >> >> > > >> >>> >> >> On Thu, Jul 25, 2013 at 8:43 AM, umesh prajapati < > > >> >>> praumesh86@gmail.com > > >> >>> >> >wrote: > > >> >>> >> >> > > >> >>> >> >>> I ran the test again using the http client 4 and I also > > checked > > >> >>> marked > > >> >>> >> >>> the browser compatible header but is still having the same > > >> issue > > >> >>> >> (login > > >> >>> >> >>> failures for some users) > > >> >>> >> >>> > > >> >>> >> >>> > > >> >>> >> >>> On Thu, Jul 25, 2013 at 8:32 AM, umesh prajapati < > > >> >>> praumesh86@gmail.com > > >> >>> >> >wrote: > > >> >>> >> >>> > > >> >>> >> >>>> I will let you know the result after I run the test using > > >> >>> httpclient4 > > >> >>> >> >>>> > > >> >>> >> >>>> > > >> >>> >> >>>> On Thu, Jul 25, 2013 at 8:31 AM, umesh prajapati < > > >> >>> >> praumesh86@gmail.com>wrote: > > >> >>> >> >>>> > > >> >>> >> >>>>> I just ran the test again and at the beginning of the > > jmeter > > >> log > > >> >>> >> before > > >> >>> >> >>>>> the test started I saw these but not really sure if this > is > > >> >>> causing > > >> >>> >> not to > > >> >>> >> >>>>> login successful for some users > > >> >>> >> >>>>> > > >> >>> >> >>>>> 2013/07/25 08:11:00 INFO - > > >> >>> >> >>>>> jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find > > >> >>> .className > > >> >>> >> >>>>> property for htmlParser, using default > > >> >>> >> >>>>> > > >> >>> >> >>>>> 2013/07/25 08:14:20 INFO - jmeter.util.SSLManager: > > KeyStore > > >> >>> created > > >> >>> >> OK > > >> >>> >> >>>>> 2013/07/25 08:14:20 WARN - jmeter.util.SSLManager: > > Keystore > > >> >>> file not > > >> >>> >> >>>>> found, loading empty keystore > > >> >>> >> >>>>> > > >> >>> >> >>>>> > > >> >>> >> >>>>> > > >> >>> >> >>>>> On Thu, Jul 25, 2013 at 8:28 AM, sebb > > >> wrote: > > >> >>> >> >>>>> > > >> >>> >> >>>>>> On 25 July 2013 16:12, umesh prajapati < > > >> praumesh86@gmail.com> > > >> >>> >> wrote: > > >> >>> >> >>>>>> > On my Http Request Currently I have these properties > > >> >>> >> >>>>>> > > > >> >>> >> >>>>>> > Implementation: Java > > >> >>> >> >>>>>> > > >> >>> >> >>>>>> Try using HttpClient 4 instead; > > >> >>> >> >>>>>> > > >> >>> >> >>>>>> The Java implementation is not ideal for testing. > > >> >>> >> >>>>>> > > >> >>> >> >>>>>> > Protocol: https > > >> >>> >> >>>>>> > Method: Get > > >> >>> >> >>>>>> > > > >> >>> >> >>>>>> > > > >> >>> >> >>>>>> > On Thu, Jul 25, 2013 at 8:10 AM, umesh prajapati < > > >> >>> >> >>>>>> praumesh86@gmail.com>wrote: > > >> >>> >> >>>>>> > > > >> >>> >> >>>>>> >> server logs > > >> >>> >> >>>>>> >> > > >> >>> >> >>>>>> >> I am using jmeter version 2.9 > > >> >>> >> >>>>>> >> > > >> >>> >> >>>>>> >> Can you try using a different HTTP implementation > (i.e. > > >> not > > >> >>> >> Commons > > >> >>> >> >>>>>> >> HttpClient)? > > >> >>> >> >>>>>> >> do you mean to try different sampler request? > > >> >>> >> >>>>>> >> > > >> >>> >> >>>>>> >> > > >> >>> >> >>>>>> >> > > >> >>> >> >>>>>> >> On Thu, Jul 25, 2013 at 7:44 AM, sebb < > > sebbaz@gmail.com> > > >> >>> wrote: > > >> >>> >> >>>>>> >> > > >> >>> >> >>>>>> >>> On 25 July 2013 14:41, umesh prajapati < > > >> >>> praumesh86@gmail.com> > > >> >>> >> >>>>>> wrote: > > >> >>> >> >>>>>> >>> > Thank you for the response guys. Yes, I do have > > >> >>> assertions. > > >> >>> >> And > > >> >>> >> >>>>>> all the > > >> >>> >> >>>>>> >>> > users who were unable to login had those header > > >> response > > >> >>> and > > >> >>> >> all > > >> >>> >> >>>>>> the > > >> >>> >> >>>>>> >>> users > > >> >>> >> >>>>>> >>> > who were succesfully able to login had the other > > >> response > > >> >>> >> >>>>>> header. I ran > > >> >>> >> >>>>>> >>> th > > >> >>> >> >>>>>> >>> > test for 106 users to test the sso logins. I had > the > > >> loop > > >> >>> for > > >> >>> >> >>>>>> two times. > > >> >>> >> >>>>>> >>> > > > >> >>> >> >>>>>> >>> > The first time I ran the test all the users were > > not > > >> >>> >> >>>>>> successfully able > > >> >>> >> >>>>>> >>> to > > >> >>> >> >>>>>> >>> > login. I tried running the test again and all the > > >> users > > >> >>> were > > >> >>> >> >>>>>> able to > > >> >>> >> >>>>>> >>> login > > >> >>> >> >>>>>> >>> > successfully. But I am getting this > inconsistently. > > >> >>> >> >>>>>> >>> > > > >> >>> >> >>>>>> >>> > The error on the logs (not jmeter logs) > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> >>> Which logs are they? > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> >>> > ERROR[24-Jul-13 12:34:57] [http-0.0.0.0-9085-4] > > >> >>> >> >>>>>> >>> > [ChunkedInputStream.parseTrailerHeaders()] > > >> >>> >> >>>>>> >>> > - Error parsing trailer headers > > >> >>> >> >>>>>> >>> > org.apache.commons.httpclient.ProtocolException: > > >> Unable > > >> >>> to > > >> >>> >> >>>>>> parse > > >> >>> >> >>>>>> >>> header: > > >> >>> >> >>>>>> >>> > HTTP/1.1 200 OK > > >> >>> >> >>>>>> >>> > at > > >> >>> >> >>>>>> >>> > > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> > > >> >>> >> > > >> >>> > > >> > > > org.apache.commons.httpclient.HttpParser.parseHeaders(HttpParser.java:202) > > >> >>> >> >>>>>> >>> > at > > >> >>> >> >>>>>> >>> > > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> > > >> >>> >> > > >> >>> > > >> > > > org.apache.commons.httpclient.ChunkedInputStream.parseTrailerHeaders(ChunkedInputStream.java:322) > > >> >>> >> >>>>>> >>> > at > > >> >>> >> >>>>>> >>> > > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> > > >> >>> >> > > >> >>> > > >> > > > org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:226) > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> >>> That looks like there might be an issue with the > > server > > >> >>> sending > > >> >>> >> bad > > >> >>> >> >>>>>> >>> data or the HttpClient parsing code not recognising > > the > > >> >>> >> response. > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> >>> Which version of JMeter are you using? > > >> >>> >> >>>>>> >>> Can you try using a different HTTP implementation > > (i.e. > > >> not > > >> >>> >> Commons > > >> >>> >> >>>>>> >>> HttpClient)? > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> > > >> >>> >> > > >> --------------------------------------------------------------------- > > >> >>> >> >>>>>> >>> To unsubscribe, e-mail: > > >> user-unsubscribe@jmeter.apache.org > > >> >>> >> >>>>>> >>> For additional commands, e-mail: > > >> >>> user-help@jmeter.apache.org > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> >>> > > >> >>> >> >>>>>> >> > > >> >>> >> >>>>>> > > >> >>> >> >>>>>> > > >> >>> >> > > >> --------------------------------------------------------------------- > > >> >>> >> >>>>>> To unsubscribe, e-mail: > > user-unsubscribe@jmeter.apache.org > > >> >>> >> >>>>>> For additional commands, e-mail: > > >> user-help@jmeter.apache.org > > >> >>> >> >>>>>> > > >> >>> >> >>>>>> > > >> >>> >> >>>>> > > >> >>> >> >>>> > > >> >>> >> >>> > > >> >>> >> >> > > >> >>> >> > > >> >>> >> > > >> --------------------------------------------------------------------- > > >> >>> >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > > >> >>> >> For additional commands, e-mail: user-help@jmeter.apache.org > > >> >>> >> > > >> >>> >> > > >> >>> > > >> >>> > > --------------------------------------------------------------------- > > >> >>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > > >> >>> For additional commands, e-mail: user-help@jmeter.apache.org > > >> >>> > > >> >>> > > >> >> > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > > >> For additional commands, e-mail: user-help@jmeter.apache.org > > >> > > >> > > > --e89a8f502ee626ab9004e269c1a9--