jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alf H√łgemark <...@i100.no>
Subject Re: http post method
Date Fri, 17 Aug 2007 17:54:05 GMT
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


Mime
View raw message