Contributions
Re: SoapUI - REST false content type with attachements
Hi Thanks for your rapid answer. Do you mean what is the purpose of the of that name=<filename> part of the Content-Type header? >>There is no purpose. The file name is added by soapUI not by myservice. Does the service you are calling setanything like: ... response.setContentType("application/pdf"); >>Yes, the service do something like that. Since it is a service for document uploads, only few content types are authorized. So I wonder why during the step of attachement, the file name is added in the contentType ? May be I'm wrong, but I think it's a bug in this step (see attached file).1.7KViews0likes2CommentsSoapUI - REST false content type with attachements
I'm using REST requests for functional testing. One of myuse case is sending attachement in POST requests. In the content type of sent data (watched in httplog console), there is"Content-Type: application/pdf; name=<NameOfTheDownloadedFile>" Why content-type contain downloaded file name (i.e. name=<NameOfTheDownloadedFile>)? REST style request are notdesigned to contain this kind of value.1.7KViews0likes4Comments