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.

