I want to use Newman with Node.js and setup an API in the cloud which will trigger newman with given URLs to Collection and Environments. Then send back the result (Preferably as JUnit) directly. I don’t want to write to file, then open file and send content. Is there a way to do this?
I was thinking about using the Summary from the Callback of newman.run(…), but I am having troubles with the EventEmitter.
This would enable me to have a “newman API” which will run collections in different regions in the world, which would help me test my different services.
Thanks for any help.