OiO.lk Blog java Create JSON request payload from extracted values inside ForEach controller
java

Create JSON request payload from extracted values inside ForEach controller


I have a list of countries using them I created my var_ variables to be used in ForEach loop controller

For Each Loop – Output variable countryName

Inside the ForEach loop controller – I have a JSON Extractor which is fetching the countryId,CurrencyId,countryCode on the basis of countryNames(output variable)

I want to create my JSON using these extracted values . But the problem is I am unable to retain the list of values extracted as every time the loop runs the values reset to the most recent value . I want to use the List of values here that I can use to create my JSON payload request .



You need to sign in to view this answers

Exit mobile version