Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Need some help where dynamic values in request parameter

Nihar1991
Nihar1991 Posts: 52
edited June 2021 in SOAtest

Hi Team,

I need some help on below REST service.

end point: imservices-qa1-usch01.corporate.ingrammicro.com:9043/ESProductSearchCA_vs2

Body:

{"id":"IMproductSummary","params":{"branch":"40","pageSize":12,"pageStart":0,"resellersid":["40064680","000001"],"customerKey":"40064680","webvisibleflag":true,"listOfProducts":["17340G","499055","DY1590","12886T","94968F","29099T"],"Locale":"en-CA","authindex":"im.authorization.ca_en","sboindex":"im.sbo.ca_en","negativeauthindex":"im.authorization-negative.ca_en","custpromoindex":"im.custpromo.ca_en"}}

query: here in this service the request parameter listOfProducts can be multiple or single or any combination. now as per the given body there are 6 products.
but after creating virtual asset by putting this value in an excel sheet, it will take all 6 products.
but will not work for one product or two products.

is there any way of parameterize so that it would take any combination of given 6 SKUs.

Thannks
Nihar Arisal