Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 85940 invoked from network); 17 Aug 2007 04:38:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 04:38:01 -0000 Received: (qmail 67124 invoked by uid 500); 17 Aug 2007 04:37:55 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 67096 invoked by uid 500); 17 Aug 2007 04:37:55 -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 67085 invoked by uid 99); 17 Aug 2007 04:37:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 21:37:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mathumathip@hcl.in designates 203.105.186.19 as permitted sender) Received: from [203.105.186.19] (HELO gws03.hcl.in) (203.105.186.19) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 04:37:51 +0000 Received: from gws03.hcl.in (gws03 [10.249.64.134]) by localhost.hcl.in (Postfix) with ESMTP id 705C237C095 for ; Fri, 17 Aug 2007 10:07:29 +0530 (IST) Received: from chn-egw02-out.corp.hcl.in (unknown [10.249.64.38])by gws03.hcl.in (Postfix) with ESMTP id 56FD637C071for ; Fri, 17 Aug 2007 10:07:29 +0530 (IST) Received: from CHN-HCLT-EVS01.HCLT.CORP.HCL.IN ([10.101.26.14]) by chn-egw02-out.corp.hcl.in with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Aug 2007 10:07:29 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: RE: http post method Date: Fri, 17 Aug 2007 10:05:09 +0530 Message-ID: <5605DDFE22B6814D8D3BD6A493583376DFB004@CHN-HCLT-EVS01.HCLT.CORP.HCL.IN> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: http post method Thread-Index: AcfeqglnDBJ3C9lZS0WQx+tEJJiv+wB3cJkw 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> From: "Mathumathi Palani Bommu, EAS-Chennai" To: "JMeter Users List" X-OriginalArrivalTime: 17 Aug 2007 04:37:29.0082 (UTC) FILETIME=[517F4DA0:01C7E088] X-imss-version: 2.047 X-imss-result: Passed X-imss-scanInfo: M:T L:E SM:1 X-imss-tmaseResult: TT:1 TS:-22.8246 TC:1F TRN:57 TV:3.6.1039(15366.003) X-imss-scores: Clean:100.00000 C:0 M:0 S:0 R:0 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) X-Virus-Checked: Checked by ClamAV on apache.org Can you please elaborate on pasting the xml data in the http arguments = table in the http sampler.. Thanks=20 mathu -----Original Message----- From: Alf H=F8gemark [mailto:alf@i100.no]=20 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=20 to "Post", and have it send the content of a file. Just leave the "Value for "name" attribute" empty.=20 Or you can take the whole XML and paste it into a row in the "http=20 arguments" table in HTTP Request Sampler, and just do not provide a=20 "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"=20 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=20 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=20 > 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=20 > 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=20 > 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 > > > =20 --------------------------------------------------------------------- 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