Contributions
How to get all the ID's one by one
Hi all, I have next task and understand that I need a groovy script for this. I have next response with a few countries: { "id" : "ABW", "iso2Code" : "AW", "name" : "Aruba", "region" : { "id" : "LCN", "iso2code" : "ZJ", "value" : "Latin America & Caribbean " }, "adminregion" : { "id" : "", "iso2code" : "", "value" : "" }, "incomeLevel" : { "id" : "HIC", "iso2code" : "XD", "value" : "High income" }, "lendingType" : { "id" : "LNX", "iso2code" : "XX", "value" : "Not classified" }, "capitalCity" : "Oranjestad", "longitude" : "-70.0167", "latitude" : "12.5167" }, { "id" : "ARG", "iso2Code" : "AR", "name" : "Argentina", "region" : { "id" : "LCN", "iso2code" : "ZJ", "value" : "Latin America & Caribbean " }, And I need to put int the veriable all the ID's one by one: Example"id" : "ABW", I'm using Property transfer for this and I'm able to select only one ID:$[1][0]['id'] - X[ath to the first one. How can I select all of them? Thank you in advanceSolved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes3Comments