In this post, we will have a quick look into the multipart/form-data requests in soapUI.
1. Create a REST project in SOAP UI and set its HTTP Request to POST
2. Choose multipart/form-data from the Media Type drop down. Click on + icon at the bottom left corner of the attachment window to browse and attach a file
3. Now it is ready to send the file. Click on green arrow to send. You will be able to see the Content Type of request is set to multipart/form-data and attachment Content Type is set to image/jpeg
No comments:
Post a Comment