cancel
Showing results for 
Search instead for 
Did you mean: 

How to send a ZIP file attachment in a post request for a REST service using SoapUI

SOLVED
Occasional Visitor

How to send a ZIP file attachment in a post request for a REST service using SoapUI

Hi,

 

Now the REST service that i have only takes a post request to stream a zip file that containes bunch of CSVs, what i tried to do is only creating a new REST project with attaching the zip file that the server expect to recieve, but all i am getting is this message {"message": "An error has occurred."}.

 

The method is set to "Post", and the media type is set to "multipart/form-data".

i've been working on this tool for only a week so if there is anything else i should do please let me know

i did alot of googling about this case with no luck

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: How to send a ZIP file attachment in a post request for a REST service using SoapUI

1 REPLY 1
Highlighted
Community Hero

Re: How to send a ZIP file attachment in a post request for a REST service using SoapUI

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!


Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server
Top Kudoed Authors