Contributions
Re: Handling collection of items in Ready API!
Hi TanyaGorbunova, Hope you are doing well. I am sorry but I cannot accept this as my answer. I think you probably didn't understand my question. Let me clarify it once again. Suppose I have a JSON { "supplierId":"2", "supplierName":"Test Supplier", "items":[ { "itemcode":1, "quantity":5}, { "itemcode":2, "quantity":6}, .............. //this array of items can have multiple "itemcode" and "quantity" and the count of "items" depends on the number of items I provide for a supplier. ] } If it would have been a single item instead ofan array, I could have mapped the datasource with individual property of JSON but when the count of data is unknown how can I map it? If there is any link for an exact solution, please provide.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes1CommentHandling collection of items in Ready API!
I have a REST API with request json string as follows:- { "items":[ { "itemcode":1, "quantity":5}, { "itemcode":2, "quantity":6} ] } How can I perform data driven testing on the above request in Ready API? Thanks in advance for the help.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes3Comments