How to output environment data before each request?

I have a Postman collection that includes several POST and GET requests. When I execute the collection using Newman, the environment details are displayed only after all the requests in the collection have finished executing. Moreover, only the data generated by the last request in the collection is included in the environment output. Is there a method to print or save the environment before executing each request, ensuring that the environment reflects the data specific to each respective request?

If there are things in the environment that are important, I would recommend creating tests for those elements.

You might also want to have a look at the HTML Extra reporter that provides a lot more information about a collection run.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.