You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by StephFrance <ci...@gmail.com> on 2010/03/30 12:00:44 UTC

Multipart

Hi all,

i have a problem with the JMeter proxy.
I explain:
 -when i run my request without proxy, it's ok
 -when i record my request with proxy, it's failed
My request is multipart.
It seems Jmeter modify my content-type in text/plain.
At start my content-type are application/xml and */*.

I expect someone have the same problem because i am looking for solution
since a week.

Thanx
-- 
View this message in context: http://old.nabble.com/Multipart-tp28080319p28080319.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Multipart

Posted by StephFrance <ci...@gmail.com>.
Here are some others details for my problem.

I send a http request with multipart data.
My data are bytes and content-type */*.
Without proxy JMeter, my request is ok.
With JMeter proxy, data are corrupted and my content-type is modified to
text/plain.
I try to debug proxy in eclipse and i think the problem come from the class
PostWriter.java witch create a new String from data so in my case a new
String
from byte.
So some characters are mismatched.

I hope somesone can help me....

-- 
View this message in context: http://old.nabble.com/Multipart-tp28080319p28287682.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Multipart

Posted by StephFrance <ci...@gmail.com>.
Sorry but my english is not well.
Some images will be more simple to understand.
My request with JMeter proxy:
http://old.nabble.com/file/p28092869/sans%2Bproxy.jpg 

My request without proxy:
http://old.nabble.com/file/p28092869/avec%2Bproxy.jpg 


sv-7 wrote:
> 
> I am not sure if I understand your problem clearly, however one way to
> enforce content type is to set "Content-Type = application/xml " in Http
> Header Manager configuration. ( Thread -> config element -> Http Header
> Manager )
> 
> -Deepak
> 
> 
> 
> On Tue, 30 Mar 2010 03:00:44 -0700 (PDT), StephFrance
> <ci...@gmail.com> wrote:
>> Hi all,
>> 
>> i have a problem with the JMeter proxy.
>> I explain:
>>  -when i run my request without proxy, it's ok
>>  -when i record my request with proxy, it's failed
>> My request is multipart.
>> It seems Jmeter modify my content-type in text/plain.
>> At start my content-type are application/xml and */*.
>> 
>> I expect someone have the same problem because i am looking for solution
>> since a week.
>> 
>> Thanx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Multipart-tp28080319p28092869.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Multipart

Posted by sv...@icarinae.com.
I am not sure if I understand your problem clearly, however one way to
enforce content type is to set "Content-Type = application/xml " in Http
Header Manager configuration. ( Thread -> config element -> Http Header
Manager )

-Deepak



On Tue, 30 Mar 2010 03:00:44 -0700 (PDT), StephFrance
<ci...@gmail.com> wrote:
> Hi all,
> 
> i have a problem with the JMeter proxy.
> I explain:
>  -when i run my request without proxy, it's ok
>  -when i record my request with proxy, it's failed
> My request is multipart.
> It seems Jmeter modify my content-type in text/plain.
> At start my content-type are application/xml and */*.
> 
> I expect someone have the same problem because i am looking for solution
> since a week.
> 
> Thanx

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