Forum Discussion

PM's avatar
PM
Contributor
7 years ago
Solved

how to pass more then one parameter in soapUI Pro having same repeatable parameters but diff values

Business logic says that URL we shud send more then 99 parameters , how to do the same in Ready Api, when trying its just adding unique parameters. What sort of setting is shall perform

 

Example:-

 

http://dev-sii-webservices.ebs.ecomp.com:8882/service/CustomerPartNumbersService/v01_00/JSON/Location/STORE_ID/GB_1/Channel/EXTERNAL/Customer/1053628/CustomerPartNumbers?ProductNumber=100532&ProductNumber=100557&ProductNumber=100533

 

If i am sending more then one ProductNumber as parameter, how to do. 

  • Was able to get he response by reading one of the post. 

     

     

    https://community.smartbear.com/t5/SoapUI-Pro/Res-duplicate-properties-in-REST-request/td-p/39318

     

    To summarize:
    - in Resource or in Method, add parameter (use style = QUERY)
    - select parameter and enable "Disable Encoding" at bottom of page
    - in Request, select parameter and set Multi-Value Delimiter to \| in bottom-left properties section
    - set a value of, e.g., 1|2|3 for the parameter (can use DataGen)
    - request will be sent out with, e.g., parameter=1&parameter=2&parameter=3

     

    pls close this post.

1 Reply

  • PM's avatar
    PM
    Contributor

    Was able to get he response by reading one of the post. 

     

     

    https://community.smartbear.com/t5/SoapUI-Pro/Res-duplicate-properties-in-REST-request/td-p/39318

     

    To summarize:
    - in Resource or in Method, add parameter (use style = QUERY)
    - select parameter and enable "Disable Encoding" at bottom of page
    - in Request, select parameter and set Multi-Value Delimiter to \| in bottom-left properties section
    - set a value of, e.g., 1|2|3 for the parameter (can use DataGen)
    - request will be sent out with, e.g., parameter=1&parameter=2&parameter=3

     

    pls close this post.