>> 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...
We had to do the same thing... Just confirming that the SOAP/XML-RPC sampler method will also work. Kind regards, Sonam Chauhan -- Corporate Express Australia Ltd. Phone: +61-2-93350725, Email: [EMAIL PROTECTED] -----Original Message----- From: Mathumathi Palani Bommu, EAS-Chennai [mailto:[EMAIL PROTECTED] Sent: Saturday, 18 August 2007 3:25 PM To: JMeter Users List Subject: RE: http post method Thanks .. it worked for me.. -----Original Message----- From: Alf Høgemark [mailto:[EMAIL PROTECTED] Sent: Friday, August 17, 2007 11:24 PM To: JMeter Users List Subject: Re: http post method 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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

