Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 10436 invoked from network); 20 Aug 2004 01:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Aug 2004 01:31:32 -0000 Received: (qmail 46333 invoked by uid 500); 20 Aug 2004 01:31:29 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 46303 invoked by uid 500); 20 Aug 2004 01:31:29 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 46287 invoked by uid 99); 20 Aug 2004 01:31:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [24.24.2.58] (HELO ms-smtp-04.nyroc.rr.com) (24.24.2.58) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 19 Aug 2004 18:31:26 -0700 Received: from 192.168.1.101 (roc-69-201-79-10.rochester.rr.com [69.201.79.10]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id i7K1VMt2019205 for ; Thu, 19 Aug 2004 21:31:23 -0400 (EDT) Subject: Re: Jmeter proxy problem for binary posts? From: Michael Stover Reply-To: mstover1@apache.org To: JMeter Users List In-Reply-To: References: Content-Type: text/plain Organization: Apache Software Foundation Message-Id: <1092966214.2442.6.camel@DaVinci> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5-4mdk Date: Thu, 19 Aug 2004 21:43:34 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yeah, JMeter is trying to understand what the browser is sending so it can correctly record it for the test. Binary data will not be comprehended, and JMeter will not be able to deal with it. -Mike On Thu, 2004-08-19 at 19:57, Wilson Fan wrote: > Hi All, > > I have just started trying out the jmeter proxy and have found that when > an applet posts binary data to the server via the proxy, the server will > throw StreamCorruptedExceptions. The binary post data seems to get > transformed (encoded?) when passing through the proxy. (more details > below) > > Has anyone encountered this problem before? (if yes) Is there anything I > can do to convert it back to the unencoded format when forwarding the > data to the server? > > Thanks, > > Wilson Fan > > ------------------------------------------------------------------------ > -------------------------------------------------------------------- > Example : Browser (with applet) --> Jmeter proxy --> weblogic server > ------------------------------------------------------------------------ > -------------------------------------------------------------------- > POST DATA SENT (ascii): Browser (with applet) --> Jmeter proxy > > [3] Source 10.0.2.142 :1342 (SYN:1129164099 ACK:3232237016) > ....sr.-com.peace.energy.transaction.EJBMethodCommand..}{K.!....[..argst > ..[Ljava/lang/Object;L..homeJNDINamet..Ljava/lang/String;L. > methodNameq.~..xpur..[Ljava.lang.Object;..X..s)l...xp....pt..transaction > .SessionManagert. > endSessionuq.~......vr.&com.peace.energy.transaction.SessionID.F........ > .J..idxpx > > POST DATA SENT (hex): Browser (with applet) --> Jmeter proxy > > [3] Source 10.0.2.142 :1342 (SYN:1129164099 ACK:3232237016) > ACED00057372002D636F6D2E70656163652E656E657267792E7472616E73616374696F6E > 2E454A424D6574686F64436F6D6D616E649FC87D7B4B8021040300035B00046172677374 > 00135B4C6A6176612F6C616E672F4F626A6563743B4C000C686F6D654A4E44494E616D65 > 7400124C6A6176612F6C616E672F537472696E673B4C000A6D6574686F644E616D657100 > 7E00027870757200135B4C6A6176612E6C616E672E4F626A6563743B90CE589F1073296C > 0200007870000000017074001A7472616E73616374696F6E2E53657373696F6E4D616E61 > 67657274000A656E6453657373696F6E7571007E00040000000176720026636F6D2E7065 > 6163652E656E657267792E7472616E73616374696F6E2E53657373696F6E4944AA46A30B > FFB6B2910200014A00026964787078 > > ------------------------------------------------------------------------ > -------------------------------------------------------------------- > > POST DATA RECEIVED : Jmeter proxy --> weblogic server > > %C2%AC%C3%AD%00%05sr%00-com.peace.energy.transaction.EJBMethodCommand%C2 > %9F%C3%88%7D%7BK%C2%80%21%04%03%00%03%5B%00%04argst%00%13%5BLjava%2Flang > %2FObject%3BL%00%0ChomeJNDINamet%00%12Ljava%2Flang%2FString%3BL%00%0Amet > hodNameq%00%7E%00%02xpur%00%13%5BLjava.lang.Object%3B%C2%90%C3%8EX%C2%9F > %10s%29l%02%00%00xp%00%00%00%01pt%00%1Atransaction.SessionManagert%00%0A > endSessionuq%00%7E%00%04%00%00%00%01vr%00&com.peace.energy.transaction.S > essionID%C2%AAF%C2%A3%0B%C3%BF%C2%B6%C2%B2%C2%91%02%00%01J%00%02idxpx > > ------------------------------------------------------------------------ > -------------------------------------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org -- Michael Stover Apache Software Foundation --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org