Forum Discussion

kanemeyer's avatar
kanemeyer
Occasional Contributor
9 years ago
Solved

Content-Disposition Name

I was wondering if there was any way to remove the quoatation from name of the content-disposition when doing a multipart file upload. the api i am connecting to only accesss the name without quotati...
  • kondasamy's avatar
    9 years ago

    So, you need to remove the double quotes covering the name attribute. There are several ways to do this,

    1) If you are Pro (Ready! API) users, you can capture the formatted request through SoapUI's event listeners and edit the request through Groovy Script. Don't worry if you are an open source users! There is a workaround to do the same using the method mentioned by nmrao in the thread - http://community.smartbear.com/t5/SoapUI-Open-Source/How-to-add-addtional-HTTP-header-to-all-the-Rest-Requests/m-p/108768#U108768

    2) [EASY WAY] Track the request sent by SoapUI using any of the HTTP debugger tools like Fiddler, Burp Suite, HTTP Watch etc and recompose the request by removing the quotes covering name attribute.

     

    Hope this helps!

     

    Thanks,

    Samy

     

    Did my reply answer your question? Give Kudos or Accept it as a Solution to help others, Thanks. ↓↓↓