Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 92671 invoked from network); 8 Nov 2004 08:03:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Nov 2004 08:03:34 -0000 Received: (qmail 52003 invoked by uid 500); 8 Nov 2004 08:03:32 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 51976 invoked by uid 500); 8 Nov 2004 08:03:31 -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 51957 invoked by uid 99); 8 Nov 2004 08:03:31 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [141.113.102.113] (HELO mail-out.emea.daimlerchrysler.com) (141.113.102.113) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 08 Nov 2004 00:03:30 -0800 Date: Mon, 08 Nov 2004 09:01:58 +0100 From: deepak.angeswar@daimlerchrysler.com Subject: Query-Jmeter-POST-binary file To: mstover1@apache.org Message-id: MIME-version: 1.0 Content-type: multipart/alternative; boundary="=_alternative 002C2483C1256F46_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 002C2483C1256F46_= Content-Type: text/plain; charset="us-ascii" Hi, I used a HTTP sniffer in the server and found that Jmeter is adding some extra bytes to the original binary file (not appending but rather to the top or beginning) that I send through POST request. This causes the ERROR:500 from server. Is thissome feature of Jmeter to add some extra bytes to the binary file? If so how can I prevent this from happening? So does Jmeter actually support POST request? and how can I send a binary file thro POST request without Jmeter making any modifications to it? with regards, Deepak. mstover1@apache.org 11/05/2004 02:37 PM Bitte antworten an mstover1 An: deepak.angeswar@daimlerchrysler.com Kopie: Thema: Re: Query-Jmeter-POST-binary file On Fri, 2004-11-05 at 04:55, deepak.angeswar@daimlerchrysler.com wrote: > Hi, > > I found your message, in the mail list of Jmeter users. > Sorry if I am disturbing you. > I have a query for which you might have a solution. > > I am using Jmeter and I have to send a binary file > to server thro POST request. > > 1)I specify the file in the > 'Send a file with the request' filed. > Am I right or wrong? Right. > > 2)After specifying a bin file I get an error > 'found invalid version in the transport layer-starting bit 45 when > expecting 3' > this is because the first bit in the binary represents > the version which 'has' to be 3. I editied the > file and inserted a byte 3. Now it should work fine I guess(yet to > chect it) I have no idea about this - it doesn't make much sense to me. Who gave this error - JMeter or your server app? > > 3)If I dont use a binary file-but just a normal text file > and pass it thro POST request. Where do I find the resulting o/p > from server. i.e. I dont find anything printed under Query data:.... > > So where do I find the result from the server? Output from the server is in the Tree View Listener under the Results tab. > > with regards, > Deepak. -- Michael Stover Apache Software Foundation --=_alternative 002C2483C1256F46_=--