Last active
June 22, 2021 17:38
-
-
Save kavioshanaiesecer/f9e3ff14d9bd9f19fdb59b11da323195 to your computer and use it in GitHub Desktop.
Event Handling and Extract Emitted Data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
newman.run({ | |
collection: require('./COLLECTION_NAME.json'), | |
reporters: 'cli', | |
iterationData: './DATA_CSV_FILE_NAME.csv' | |
}).on('beforeDone', (error, data) => { | |
if (error) { | |
console.log(error); | |
} | |
console.log(data); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment