soapUI: multipart form-data. i don't know how to post form-data

Originally posted by johnnykuo on July 18, 2016

i used ‘postman’ to test my api, the media type of body is form-data.

the HTTP code:

POST /xxxxxxxx/xxx HTTP/1.1
Host:  xxx.xxxxxx.com
X-ML-AppId: xxxxxxxxxx
X-ML-Request-Sign: xxxxxxxxxxxxx
Cache-Control: no-cache
Postman-Token: xxxxxxxxxxxxxxxxxxxx
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="userId"

123123123123
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="content"

textContent
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="latitude"

10
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="longitude"

50
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename=""
Content-Type: 

----WebKitFormBoundary7MA4YWxkTrZu0gW

so, i want to run this test case in the testSuite of soapUI, but when i chose the media type to multipart/form-data, i have no idea how to input the key and value of form-data.

like this:

i just want post form-data like postman.

Originally posted by sesleri on June 27, 2017

Soapui breaks multipart form requests right now because it tries to insert its automatic boundary everywhere. I got my requests to work despite this bad functionality by ignoring their boundary in my request. Set your own boundary under headers and manually put your request in the payload. See my screenshot.

Originally posted by mazam on February 27, 2018

I have tried this. Issue is that I have an audio file attachment. When I paste it’s contents in the window the contents get corrupt since they get converted to ascii..

I want a way to be able to modify the boundary that SOAP UI put’s in so it’s acceptable to the server or find another way to send the request without attaching the file.