JHoreczky
13 years agoContributor
[RES] Submit a list of values to servlet
Hello SmartBear support team,
I am trying to use SoapUI Pro 4.5.0 to submit a request to servlet that expects a list of values for one of the request parameters.
For example: servlet?alias=joe&alias=john&alias=jim
It doesn't seem to be possible to add another method parameter using a name that already exists. The method parameters editor, in both the REST and HTTP case, doesn't allow adding another parameter with the same name, but merely positions the input edit for the already existing parameter.
As a workaround I tried duplicating the parameter by manually editing the SoapUI project file. In that case when the project file is loaded into the SoapUI, the first parameter is used, and the subsequent parameters having the same name are silently ignored.
Is there a workaround, in order to achieve the above, possibly through the GUI interface? Do I need to use a Groovy script for implementing this requirement?
Thanks,
Joseph H.
I am trying to use SoapUI Pro 4.5.0 to submit a request to servlet that expects a list of values for one of the request parameters.
For example: servlet?alias=joe&alias=john&alias=jim
It doesn't seem to be possible to add another method parameter using a name that already exists. The method parameters editor, in both the REST and HTTP case, doesn't allow adding another parameter with the same name, but merely positions the input edit for the already existing parameter.
As a workaround I tried duplicating the parameter by manually editing the SoapUI project file. In that case when the project file is loaded into the SoapUI, the first parameter is used, and the subsequent parameters having the same name are silently ignored.
Is there a workaround, in order to achieve the above, possibly through the GUI interface? Do I need to use a Groovy script for implementing this requirement?
Thanks,
Joseph H.