Forum Discussion

sachin-chanchal's avatar
Occasional Contributor
5 years ago

Unable to POST multipart/form-data with soapui 5.5.0 (free version)


I am trying to create SOAPUI test suite by using request which consist attachment in it and using "multipart/form-data"

Request are following

Accept: application/json, text/plain, */*

X-REST-API: true

X-Requested-With: true

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

Content-Type: multipart/form-data

Accept-Encoding: gzip, deflate

and Request Payload is:


Content-Disposition: form-data; name="attachment"; filename="check1.txt"

Content-Type: text/plain


Content-Disposition: form-data; name="fileName" check1.txt


Content-Disposition: form-data; name="employeeid" -1


Content-Disposition: form-data; name="componentid" 213


Content-Disposition: form-data; name="entityid" 1


Content-Disposition: form-data; name="categoryId" 151


Tried multiple solutions on smartbear community but unable to get success from any of them:

POSTMAN request are appearing (refer attached postman image)

SOPAUI image which i have created (refer attached soapui images)


Please suggest, as i am getting failure while running this soapui request however postman is successfully able to execute the REST request 



No RepliesBe the first to reply