Junit report only contains results from last iteration
See original GitHub issueWhen 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 Version (can be found via
newman -v
): 4.5.7 - OS details (type, version, and architecture): Windows 10 64bit
- Are you using Newman as a library, or via the CLI? CLI
- Did you encounter this recently, or has this bug always been there: Always
- Expected behaviour: The JUnit report should contain results for all iterations.
- Command / script used to run Newman: newman run collection.json -d data.csv -r cli,junit
- Sample collection, and auxiliary files (minus the sensitive details): The sample collection has 1 request: https://postman-echo.com/get?iter={iter}
- Screenshots (if applicable):
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:7
Top Results From Across the Web
Junit Reports only showing the last class ran when executed ...
I can get the build.xml to report all of my classes defined by targets if I call test-all, but if i only want...
Read more >Chapter 7. Reporting JUnit results - liveBook · Manning
This chapter covers various tools and techniques available for reporting JUnit test results, including extending JUnit to write your own custom reporting ......
Read more >Junit report displays/counts multiple tests as one test - GitLab
My problem is that i have 3 errors in my junit with same name but different class and file. It only see the...
Read more >Incorrect JUnit test count when multiple tests have the same ...
BAM-11366 - Bamboo counts and displays only once, tests with the same ... BAM-6990 - Need to handle duplicate test results from testng...
Read more >JUnit 5 User Guide
a node in the test tree that contains other containers or tests as its children (e.g. ... Executed only if the previous assertion...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
Is there any update to this… we are also facing the same issue… junit report has only the last iteration out of the 73 iterations we ran. CLI seems to list all. We can try newman-junit-full… but is there any other alternate other than installing newman-junit-full? Thanks for the help.