Forum Discussion

nnarla's avatar
nnarla
New Contributor
13 years ago

Can restAPI service has duplicate param with other value?

For one of the testcase I need to introduce two similar parameters in the request to get an error. But soapUI is not allowing to add same parameter for the second time.

For example - should give error when the 'inputData' field is given twice.

If below are the parameters and their values for a Rest service-
inputData=television
inputData=camera

queryType=search
querySubtype=word
zipCode=80305
resultFormat=xml

Expected Result - Error

I tried adding inputData in the request but it is not adding up. Is there anyway that I can add ' inputData' field or any parameter as a duplicate.

Thanks.
No RepliesBe the first to reply