You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ananda <an...@cisco.com> on 2003/03/27 06:13:28 UTC

Send parameters with http request

Hi,

Can someone throw some light on the doubts below:

I'm trying to figure out how to tell jmeter to POST the exact message

body content I specified without adding its own default stuff. I tried

the following:

1) Send a file with the request - this prefixes my message body

content with:

-----------------------------7d159c1302d0y0..Content-Disposition:

form-data; name="";

filename="D:\\cns\\rm1.4\\jmeter\\messages\\SessionStart.xml"..Content-Type:

....

and postfixes my message body content with:

..-----------------------------7d159c1302d0y0--

2) Send parameters with HTTP request - this allows me to specify a

parameter (e.g. parm1) and a corresponding value (in this case my POST

message body content). But this prefixes my content with: parm1=

Is there a way around this?

Thanks.

Ananda.


Re: Send parameters with http request

Posted by Mike Stover <ms...@apache.org>.
The SOAP Sampler may be what you are looking for.

-Mike

On 27 Mar 2003 at 10:43, Ananda wrote:

> Hi,
> 
> Can someone throw some light on the doubts below:
> 
> I'm trying to figure out how to tell jmeter to POST the exact message
> 
> body content I specified without adding its own default stuff. I tried
> 
> the following:
> 
> 1) Send a file with the request - this prefixes my message body
> 
> content with:
> 
> -----------------------------7d159c1302d0y0..Content-Disposition:
> 
> form-data; name="";
> 
> filename="D:\\cns\\rm1.4\\jmeter\\messages\\SessionStart.xml"..Content-Type:
> 
> ....
> 
> and postfixes my message body content with:
> 
> ..-----------------------------7d159c1302d0y0--
> 
> 2) Send parameters with HTTP request - this allows me to specify a
> 
> parameter (e.g. parm1) and a corresponding value (in this case my POST
> 
> message body content). But this prefixes my content with: parm1=
> 
> Is there a way around this?
> 
> Thanks.
> 
> Ananda.
> 
> 



--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org