When using newman with a data source file, the Junit report only contains the results for the last item in the file. The CLI output correctly shows the number of iterations, test scripts and assertions, while the Junit xml file only shows a single test case.
newman -v): 4.5.7



Also seeing this issue with 101 iterations only yielding one testsuite.
Hey I was able to get all the iterations to report by using newman-reporter-junitfull. You can get it via npm
npm install -g newman-reporter-junitfull
This is perfect, thank you! @Christian0411
@rycornell, can we reopen this? Adding a plugin as a dependency doesn't fix the issue internal to newman. The standard junit reporter should have been smart enough to handle this.
Is anyone already working on this issue?
If not, I am ready to start.
Most helpful comment
Hey I was able to get all the iterations to report by using newman-reporter-junitfull. You can get it via npm
npm install -g newman-reporter-junitfull