jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alf H√łgemark <...@i100.no>
Subject Re: Jmeter and Multipart/form-data
Date Fri, 17 Aug 2007 18:03:01 GMT
Hi

Some comments to your questions / observations :

2)
I suggest you add the "View Results Tree" listener to your test plan.
Then you should be able to see all the details about the request sent 
from JMeter to your web server, including the HTTP POST body, i.e. 
similar to what you have listed in 1).
Then you can compare, and maybe find an answer for the error you see in 3).
You could also show it to me, and I can have a look if I can spot the 
problem.

3)
I think the warning about Content-type not having a charset encoding can 
be solved if you specify the content enconding in the HTTP Sampler GUI, 
because then
that will be used in the Content-type header.
I do not think that warning is the reason for your problems.

I'm very interested in helping you solve this problem, it might be a bug 
in JMeter

Regards
Alf Hogemark

NEVEU Anthony (EURIWARE SA) wrote:
> Hi all,
>
>  
>
> I'm using jmeter 2.3RC3 and I have a problem with a multipar/form-data form.
>
>  
>
>  
>
> 1)       First, I get with paros http proxy the request of http that I want to test with
jmeter
>
>  
>
>             2) Second, I make a httpSampler with those parameters
>
>  
>  
>
> 3)       Third, I always have the same error on my application server, because the http
request is not correct
>
>  
>
> 2007-08-16 13:37:31,697 DEBUG [org.apache.catalina.connector.CoyoteAdapter]  Requested
cookie session id is F258DD54B68CEE4BEAE6158D08E7567D
>
> 2007-08-16 13:37:31,699 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter
start request processing at 8/16/07 1:37 PM  for uri: /nuxeo/create_document.faces
>
> 2007-08-16 13:37:31,699 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Incoming
request has Content-Type header without character encoding: multipart/form-data; boundary=---------------------------7d159c1302d0y0
>
> 2007-08-16 13:37:31,699 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter
request output to XML
>
> 2007-08-16 13:37:31,703 ERROR [STDERR] Aug 16, 2007 1:37:31 PM org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl
beginRequest
>
> SEVERE: null
>
> java.io.IOException
>
>         at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler.getNextPart(MultipartFormHandler.java:206)
>
>         at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl.beginRequest(FileUploadConfiguratorImpl.java:116)
>
>         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:445)
>
>         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:193)
>
>  
>
>   

---------------------------------------------------------------------
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