Hello,

I am new to jmeter and am trying to use it to test upload requests in html
format to a server that accepts the commands like this:
http://HOSTNAME:PORT/archive?create&pVersion=0045&contRep=ARCHIVE
followed by the file to be uploaded.

I have created the Sampler HTTP REQUEST, with PATH as "/archive?create", the
parameters in the parameter list and the filename and path under Send files
with request. I have provided also the parameter name and the MIME type. 

When running this, I get a http error 400, and after further investigation
of the log-files of the server, it turns out that the received file has
"wrong Content-Type: NULL", and the server abords the request from there. So
the MIME type is not correctly set, I think..

How can I correct this behaviour, what things can I try out? I tinkered
around with the options, used both GET and POST, with the
multipart/form-data both on and off... to no avail.

Any suggestions/hints/tips are all welcome.

Regards,
Aurel





-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/HTML-Request-Problem-tp3314836p3314836.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to