Hello Daniel -
I am not sure if this approach will work, but I think you can use the
CVS version of the XML-RPC sampler to post arbitrary HTTP data. Peter
Lin committed a change to CVS in end-January that enabled the XML-RPC
sampler to accept arbitrary Content-Type headers (overriding the default
of 'text/xml') using the 'HTTP header manager' config element.
This is what you can try:
1. First insert a 'HTTP Header manager' config element and get it
to set the HTTP Content-Type header to what your POST needs.
(could be "multipart/mime" ...whatever)
2. Next use a XML-RPC sampler, and paste in the entire body
of the POST data (including the MIME headers etc) in the
XML-RPC sampler textarea.
I hope it works.
With regards,
Sonam Chauhan
--
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED]
> -----Original Message-----
> From: Daniel Henrique Alves Lima [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 7 March 2004 12:41 AM
> To: JMeter Developers List
> Subject: Re: MULTIPART FORMS
>
> Hi, guys. Please, i would appreciate any help...
>
> Thanks.
>
> Daniel Henrique Alves Lima wrote:
>
> > Hello, people.
> >
> > I'm using JMeter to test one of my webapps but i'm getting some
> > problems when using multipart forms. I really want to use JMeter to
do
> > this. My question is: can i modify the jmeter source code to reach a
> > good/correct behaviour (in this case) ? Must i open feature/bug
> > request in bugzilla ? How can i proceed ?
> >
> > I'm using Struts 1.1 under a Tomcat 4.1.29 in a Red Hat Linux
Server.
> >
> >
> > Thanks.
> >
> >
> >
> >
> >
> >
---------------------------------------------------------------------
> > 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]