jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathumathi Palani Bommu, EAS-Chennai" <>
Subject RE: http post method
Date Fri, 17 Aug 2007 04:35:09 GMT
Can you please elaborate on pasting the xml data in the http arguments table in the http sampler..


-----Original Message-----
From: Alf H√łgemark [] 
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.


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
> -----------------------------------------------------------------------------------------------------------------------
> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message