Newman library in node.js script: access iterationData value for each iteration cycle

I tried to answer that here:

The only thing that you would need to change is the way you get the values from the data field during the different iterations:

let fieldOne = pm.iterationData.get('field1'),
    fieldTwo = pm.iterationData.get('field2');

console.log(`\n${fieldOne},${fieldTwo}`)
1 Like