Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5B752200BC3 for ; Fri, 18 Nov 2016 20:24:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5A3E1160B1E; Fri, 18 Nov 2016 19:24:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AA868160B03 for ; Fri, 18 Nov 2016 20:23:59 +0100 (CET) Received: (qmail 41087 invoked by uid 500); 18 Nov 2016 19:23:58 -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 41076 invoked by uid 99); 18 Nov 2016 19:23:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 19:23:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2EADE1A06D4 for ; Fri, 18 Nov 2016 19:23:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.3 X-Spam-Level: * X-Spam-Status: No, score=1.3 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id jnjh4E9XcTUu for ; Fri, 18 Nov 2016 19:23:55 +0000 (UTC) Received: from mail.chartercom.com (mail.chartercom.com [24.176.92.28]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 75FB55F1E5 for ; Fri, 18 Nov 2016 19:23:54 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,659,1473138000"; d="scan'208,217";a="57070471" Received: from unknown (HELO SC58MEXGP025.CORP.CHARTERCOM.com) ([172.24.253.153]) by mail.chartercom.com with ESMTP; 18 Nov 2016 13:11:16 -0600 Received: from SC58MEXGP028.CORP.CHARTERCOM.COM (172.24.253.156) by SC58MEXGP025.CORP.CHARTERCOM.com (172.24.253.153) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 18 Nov 2016 13:23:28 -0600 Received: from SC58MEXGP028.CORP.CHARTERCOM.COM ([fe80::a5f7:ac89:af50:1dd6]) by SC58MEXGP028.CORP.CHARTERCOM.com ([fe80::a5f7:ac89:af50:1dd6%20]) with mapi id 15.00.1104.000; Fri, 18 Nov 2016 13:23:28 -0600 From: "Hohmann, Kurt D" To: "user@jmeter.apache.org" Subject: 500 Server Error occurs only in JMeter, same POST is successful when submitted manually Thread-Topic: 500 Server Error occurs only in JMeter, same POST is successful when submitted manually Thread-Index: AdJB0QsPCj3T+6qqTnW7w0ua2YlNKQ== Date: Fri, 18 Nov 2016 19:23:28 +0000 Message-ID: <90ea3d9b0e7346958404f92f4c8c42fa@SC58MEXGP028.CORP.CHARTERCOM.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.24.253.243] Content-Type: multipart/alternative; boundary="_000_90ea3d9b0e7346958404f92f4c8c42faSC58MEXGP028CORPCHARTER_" MIME-Version: 1.0 archived-at: Fri, 18 Nov 2016 19:24:00 -0000 --_000_90ea3d9b0e7346958404f92f4c8c42faSC58MEXGP028CORPCHARTER_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In my script, I'm using a JSESSIONID instead of a cookie; the JSESSIONID is= extracted using a HTTP URL Re-writing Modifier and I can confirm that the = correct value (the one which appears in the response data from the login pa= ge) is being applied in the Request. e.g. POST https://qa67.ososinfo.org:446/Staff/staffdetail.xhtml;JSESSIONID= =3D0655ca5420354753ae413984d34cfc27 I'm also using a VIEWSTATE, which I'm extracting prior to running the remai= nder of the test steps by using a Regular Expression Extractor and setting = the resulting variable as a parameter in the HTTP Request, e.g. javax.faces.ViewState=3D8d2%2BgOIseczB2FWSo74DqQfkmiYVaK73D8bnLTNWCx%2= FB8EtE The problem is that I'm hitting a Response code: 500 | Response message: In= ternal Server Error every time I attempt a post with all of the applicable = data. I tried running through the steps manually in a Firefox browser. I copied t= he contents of the Request tab from the failing page into a REST client, lo= gged in using a separate tab of the same browser and grabbed the appropriat= e JSESSIONID and VIEWSTATE information, then posted with that info in place= - and the manual post was successful. Am I missing something? Is JMeter requiring something to accomplish this PO= ST that a I'm not seeing in a manual attempt? Happy to share any/all of what I'm seeing if it might be helpful in helping= to troubleshoot. Thanks, Kurt --_000_90ea3d9b0e7346958404f92f4c8c42faSC58MEXGP028CORPCHARTER_--