I have a Spring Rest API that looks like the following: public void createRelease(@RequestPart("installers") List<MultipartFile> installers, ...
I'm using SoapUI 5.0.0. I would to test my REST API by sending multiple files to the "createRealease" API. Unfortunately I'm unable to figure how to do it.
I'm able to attach multiple files, that's ok. I'm able to allocate one attachment to the "installers" parameter and send it correctly to the "createrelease" API. But I can't understand how I can allocate more than one file to the "installers" parameter.
I have tried the Multi-Value Delimiter today by setting a "|" as delimiter between the two files value as the following: file:UXFMEPlatformTest.apk|file:UXFMEPlatformTest.ipa.
But when looking at the Raw tab i noticed that the request is not well formed, the filename contains the two values with a "|" in between ... ------=_Part_13_1580629665.1418738140743 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-Disposition: form-data; name="installers"; filename="UXFMEPlatformTest.apk|file:UXFMEPlatformTest.ipa"
I really thought I had the solution, is it a bug ? Or did I missed something ?