Forum Discussion

purplestickmen's avatar
purplestickmen
New Contributor
15 years ago

Posting array parameters in REST services

I am using SOAPUI successfully to test my rest webservices, however there appears to be a bug in that I can't pass an array of parameter values.

In a form I would usually post the following

lstColumns[] myColumn
lstColumns[] mySecondColumn
lstColumns[] myThird


On the server side, I can process this as an array string values i.e.
lstColumns] containing myCOlumn, mySecondColumn, myThird

But, in SOAPUI I can't add multiple parameters with the same name.
Everytime I add a parameter that already exists it overwrites the previous entry.

Is there a different technique in passing array values in SOAPUI or is this a bug?

1 Reply

  • Found the solution:

    You can specify the parameter with a | character.

    e.g. lstColumns[] myColumn|mySecondColumn|myThird.