Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 2780 invoked from network); 10 Feb 2004 22:54:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Feb 2004 22:54:47 -0000 Received: (qmail 51217 invoked by uid 500); 10 Feb 2004 22:54:30 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 51199 invoked by uid 500); 10 Feb 2004 22:54:30 -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 51174 invoked from network); 10 Feb 2004 22:54:30 -0000 Received: from unknown (HELO typhoon.atg.com) (64.69.10.20) by daedalus.apache.org with SMTP; 10 Feb 2004 22:54:30 -0000 Received: from [10.0.0.56] (helo=mailsvr-uk.atg.com) by typhoon.atg.com with esmtp (Exim 4.14) id 1Aqgli-0001fN-CY for jmeter-user@jakarta.apache.org; Tue, 10 Feb 2004 17:54:14 -0500 Received: from atg.com ([10.1.133.2]) by mailsvr-uk.atg.com over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Tue, 10 Feb 2004 22:53:42 +0000 Message-ID: <40295FE7.50509@atg.com> Date: Tue, 10 Feb 2004 23:49:11 +0100 From: Jordi Salvat i Alabart Organization: Art Technology Group User-Agent: Mozilla/5.0 (X11; U; Linux i686; ca; rv:1.6b) Gecko/20031221 Thunderbird/0.4 X-Accept-Language: ca, en-gb, en, fr, es-es, es MIME-Version: 1.0 To: JMeter Users List Subject: Re: Using proxy to record script with xml POSTed to servlet - help! References: <419FCDA626F2F34788A0B3DE1ECFDCC049C564@aiimadm.aii_campus.local> In-Reply-To: <419FCDA626F2F34788A0B3DE1ECFDCC049C564@aiimadm.aii_campus.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Feb 2004 22:53:43.0264 (UTC) FILETIME=[BB8FFE00:01C3F028] X-Spam-Score: -0.0 (/) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1Aqgli-0001fN-CY*AD9NaIAVBD2* X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The Proxy and HTTP Sampler components are currently capable only of handling requests in application/x-www-urlencoded and multipart/form-data formats. (And the later still has limitations in that it can transfer one single file parameter). Their behaviour in handling anything else is undefined. The SOAP/XML sampler is a sampler by itself. You should create one such component INSTEAD of the failing HTTP Sampler. -- Salut, Jordi. Mark Courneyea wrote: > So I got the JMeter proxy to work in order to record test scripts - very nice - but when it arrives at a POST with xml data, it seems to need to resolve the xml into a name/value pair. > > After searching this mailing list, I seemed to come up with 2 possible solutions as work arounds: > > 1) use a header manager to change content-type to text/xml > > Result: the content-type as shown in the recorded test script is already text/xml so that can't be the problem > > 2) use a SOAP/XML-RPC sampler > > Result: nothing. I added it as a child to the original http request. When that didn't work, I tried putting it at the same level, just after the original http request. I made sure the garbled xml was removed from the name\value list in the original. I made sure the proper name\value pairs were added to the original. > > My first question is - is this a bug in the script recording from the proxy or something I am doing? I am so hoping it is something I am doing. > > My second question is - assuming I am working with a bug, is the work around I am attempting possible? If so, can someone point me in the right direction? > > Any and all help is appreciated. > > > Mark Courneyea > Software Specialist > AutoSkill International > http://www.autoskill.com > (613) 235-6740 ext. 269 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org