sbernier
10 years agoNew Contributor
Multipart files in the same parameter
Hi,
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.
Any help would be appreciated.
Thanks,
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.
Any help would be appreciated.
Thanks,