Creating a report for a data driven test (multiple iterations)

Hi All,

I have a collection comprisiong of 2 requests and the second request is dependent on the first one. There are 12 iterations. I am trying to create an html report that comprises of the details of all the iterations. For a single iterations there are 12 tests.

I am running the below command :

newman run “{name of the collection}” --reporters=htmlextra

However, it runs only for one iteration. Could someone please guide me on how to run it for all the iterations?

You can set the number of iterations in the Newman command line options.

Newman command options | Postman Learning Center

You also might want to consider using the HTML extra report. Take a look at the following thread.


1 Like