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 5FAB3DE91 for ; Thu, 27 Dec 2012 08:32:37 +0000 (UTC) Received: (qmail 5573 invoked by uid 500); 27 Dec 2012 08:32:36 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 5327 invoked by uid 500); 27 Dec 2012 08:32:34 -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 5288 invoked by uid 99); 27 Dec 2012 08:32:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2012 08:32:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shmulikk@gmail.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-ia0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2012 08:32:26 +0000 Received: by mail-ia0-f175.google.com with SMTP id z3so7641837iad.20 for ; Thu, 27 Dec 2012 00:32:05 -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 :content-type; bh=S1pratGy9MBBgEHXciRPeNQWQgoKVRih8oppx5N2bJU=; b=VE+Sv48UqHN+EvS3g3wXv1avK1p5o0X3fcOgIeQ6lp1u7/NNM3K7iMpVwRvCbFUexp ibXikj1QN19GOH8RNhYg+FVld8XhXE2UwNkdo6dNUGoML+6s7h0HlbQXfUuVgldT7v40 g1ff6CeZyYzgiYnp0G133pVWMJ2ll8xTFIYHLAeAbhKmSqnrn9rYKXZ48O7XBPELsoF9 CMig2NkDLcPDdWAfJY2+0YVAZx3NJNQ5eSbC032YuVIBRW8/NkEEHLMRoRhBKBXv7BB+ hg+ZbSMkL0d0VdKR9EZB5EKJn8EKu1SZVpLkJHGjRU4S/cM/RGeWjlGXd4j4veKosPr4 PXUQ== MIME-Version: 1.0 Received: by 10.42.249.80 with SMTP id mj16mr22996301icb.53.1356597125375; Thu, 27 Dec 2012 00:32:05 -0800 (PST) Received: by 10.64.138.35 with HTTP; Thu, 27 Dec 2012 00:32:04 -0800 (PST) In-Reply-To: References: Date: Thu, 27 Dec 2012 10:32:04 +0200 Message-ID: Subject: Re: Get HTTP Status 408 Error, when execute scripts using JMeter2.8 From: Shmuel Krakower To: JMeter Users List Content-Type: multipart/alternative; boundary=20cf3011d8b1c2e53704d1d161c1 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3011d8b1c2e53704d1d161c1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Probably you miss the HTTP Cookie Manger. Add it to the root of your test plan (Config Element -> HTTP Cookie Manger)= . Best, Shmuel Krakower. www.Beatsoo.org - re-use your jmeter scripts for application performance monitoring from worldwide locations for free. On Thu, Dec 27, 2012 at 10:08 AM, William Wang wrote: > Dear all, > > I am new to Jmeter, and have searched Jmeter wiki without result. My > project > is base JSF + JBOSS6. I use 'workBench>HTTP Proxy Server' to record > scripts, > and replay them. But I got an error at step3. > > The concrete reproduce as below, > > step1, =E3=80=90execute success with no error=E3=80=91 > > POST http://localhost:8080/my-web/ > > POST data: > > > [no cookies] > > Request Headers: > Connection: keep-alive > Accept-Language: en-US,en;q=3D0.5 > Accept: text/html,application/xhtml+xml,application/xml;q=3D0.9,*/*;q=3D0= .8 > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) > Gecko/20100101 Firefox/17.0 > DNT: 1 > Accept-Encoding: gzip, deflate > Content-Type: application/x-www-form-urlencoded > Content-Length: 0 > Host: localhost:8080 > > step2, =E3=80=90execute success with no error=E3=80=91 > POST http://localhost:8080/my-web/pages/home/home.faces > > POST data: > > > [no cookies] > > Request Headers: > Connection: keep-alive > Accept-Language: en-US,en;q=3D0.5 > Accept: text/html,application/xhtml+xml,application/xml;q=3D0.9,*/*;q=3D0= .8 > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) > Gecko/20100101 Firefox/17.0 > DNT: 1 > Accept-Encoding: gzip, deflate > Content-Type: application/x-www-form-urlencoded > Content-Length: 0 > Host: localhost:8080 > > step3, =E3=80=90failure with error=E3=80=91 > POST http://localhost:8080/my-web/pages/home/j_security_check > > POST data: > j_username=3Dstreetpoet&j_password=3D213231 > > [no cookies] > > Request Headers: > Connection: keep-alive > Content-Type: application/x-www-form-urlencoded > Accept-Language: en-US,en;q=3D0.5 > Accept: text/html,application/xhtml+xml,application/xml;q=3D0.9,*/*;q=3D0= .8 > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) > Gecko/20100101 Firefox/17.0 > Referer: http://localhost:8080/love-web/pages/home/home.faces > DNT: 1 > Accept-Encoding: gzip, deflate > Content-Length: 39 > Host: localhost:8080 > > Thread Name: Thread Group 1-1 > Sample Start: 2012-12-27 15:53:04 CST > Load time: 3 > Latency: 3 > Size in bytes: 1766 > Headers size in bytes: 214 > Body size in bytes: 1552 > Sample Count: 1 > Error Count: 1 > Response code: 408 > Response message: Request Timeout > > Response headers: > HTTP/1.1 408 Request Timeout > Server: Apache-Coyote/1.1 > X-Powered-By: Servlet/3.0; JBossAS-6 > Content-Type: text/html;charset=3Dutf-8 > Content-Length: 1552 > Date: Thu, 27 Dec 2012 07:53:04 GMT > Connection: close > > > HTTPSampleResult fields: > ContentType: text/html;charset=3Dutf-8 > DataEncoding: utf-8 > > > Does anyone can give me some information? Thank a lot. > > William > 2012/12/27 > > > > --20cf3011d8b1c2e53704d1d161c1--