I’m running my collection with newman through nodejs script and i’m wondering is there a way to retrieve test results that is executed after every request in my collection just after its happened, preferably when .on(‘test’) event is fired.
I hoped i will find it in event args, but i didnt. This information is not there or i just missing something?
Have you read up on the different reporters that Newman supports ? https://www.npmjs.com/package/newman#reporters
Yeah, but i want to get test result data right after test script was executed, and push it to another app. No after run completes. One way is to capture console output that newman produces but this is dirty way and i thought it can be done easier.