From jmeter-user-return-17432-apmail-jakarta-jmeter-user-archive=jakarta.apache.org@jakarta.apache.org Fri Aug 17 17:54:32 2007 Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 27329 invoked from network); 17 Aug 2007 17:54:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 17:54:31 -0000 Received: (qmail 13491 invoked by uid 500); 17 Aug 2007 17:54:26 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 13467 invoked by uid 500); 17 Aug 2007 17:54:26 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 13456 invoked by uid 99); 17 Aug 2007 17:54:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 10:54:26 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [81.167.36.150] (HELO asav4.lyse.net) (81.167.36.150) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 17:54:46 +0000 Received: from asav4.lyse.net (asav4 [127.0.0.1]) by localhost (Postfix) with ESMTP id 8020C3500D6 for ; Fri, 17 Aug 2007 19:54:01 +0200 (CEST) Received: from [192.168.1.100] (4.84-234-173.customer.lyse.net [84.234.173.4])by asav4.lyse.net (Postfix) with ESMTP id 6C5F5350027for ; Fri, 17 Aug 2007 19:54:01 +0200 (CEST) Message-ID: <46C5E0BD.80707@i100.no> Date: Fri, 17 Aug 2007 19:54:05 +0200 From: =?ISO-8859-1?Q?Alf_H=F8gemark?= User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: JMeter Users List Subject: Re: http post method References: <72d5edde0708130350h2c3351e5m2597b26e269843c1@mail.gmail.com> <25aac9fc0708130743p5861434i3d838650b4a18301@mail.gmail.com> <72d5edde0708130751p5894b6c4w757697f3d95e329a@mail.gmail.com> <25aac9fc0708130818v6a313386t5eed519d5148ebef@mail.gmail.com> <72d5edde0708130917p25496f10g1a68d03cdfccbc0c@mail.gmail.com> <25aac9fc0708130935x50500367y705155f923acd10f@mail.gmail.com> <5605DDFE22B6814D8D3BD6A493583376DC66B3@CHN-HCLT-EVS01.HCLT.CORP.HCL.IN> <46C2037B.5080405@i100.no> <5605DDFE22B6814D8D3BD6A493583376DFB004@CHN-HCLT-EVS01.HCLT.CORP.HCL.IN> In-Reply-To: <5605DDFE22B6814D8D3BD6A493583376DFB004@CHN-HCLT-EVS01.HCLT.COR P.HCL.IN> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-imss-version: 2.047 X-imss-result: Passed X-imss-scanInfo: M:P L:E SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:3.6.1039(15368.003) X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:2 C:1 M:1 S:1 R:1 (0.1500 0.1500) X-Virus-Checked: Checked by ClamAV on apache.org Hi You just take the whole XML string you want to send to the web server, and paste it in as a value for an argument / parameter for the HTTP Sampler, but do not provide an argument name / parameter name. Regards Alf Mathumathi Palani Bommu, EAS-Chennai wrote: > Can you please elaborate on pasting the xml data in the http arguments table in the http sampler.. > > Thanks > mathu > > -----Original Message----- > From: Alf Høgemark [mailto:alf@i100.no] > Sent: Wednesday, August 15, 2007 1:03 AM > To: JMeter Users List > Subject: Re: http post method > > Yes, you should be able to use the HTTP Request sampler, and set method > to "Post", and have it send the content of a file. > Just leave the "Value for "name" attribute" empty. > > Or you can take the whole XML and paste it into a row in the "http > arguments" table in HTTP Request Sampler, and just do not provide a > "name" for the row, then the content is sent as the POST body. > You might have to add a "HTTP Header Manager", to send a "content-type" > header with value "text/xml", I do not remember exactly how REST works. > Make sure to add a "View Results Tree", so you can easily debug what > request is sent, and what response is received. > > Regards > Alf > > Mathumathi Palani Bommu, EAS-Chennai wrote: > >> Hi >> >> Can any one guide me to stress test a REST services where I have to send >> a xml data over http site which works on post method.. can we go for >> soap/XML-RPC sampler.. the application pass only the xml data not the >> soap data... >> >> Need One more clarification.. can we send the xml data request as a file >> in the HTTP Request Sampler.. >> >> mathu >> >> >> >> DISCLAIMER: >> ----------------------------------------------------------------------------------------------------------------------- >> >> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. >> It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in >> this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. >> Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of >> this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have >> received this email in error please delete it and notify the sender immediately. Before opening any mail and >> attachments please check them for viruses and defect. >> >> ----------------------------------------------------------------------------------------------------------------------- >> >> --------------------------------------------------------------------- >> 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 > > > --------------------------------------------------------------------- > 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