When executing a Postman API suite with multiple iterations (e.g., 20), only 5 reports are generated. The issue arises because the report names are not uniquely generated, resulting in existing reports being overridden.
This problem was previously addressed by @felipecassiors, who introduced the @felipecrs/newman-reporter-alluremodule, as discussed in the following Postman Community thread. The solution was subsequently merged into the parent Allure Framework, with the repository available here.
However, when using the latest version of newman-reporter-allure, I am still encountering the same issue—reports are not being uniquely generated across all iterations.
Could you please clarify:
-
Is there a way to explicitly use the reporter created by @felipecrs while using newman-reporter-allure ?
-
Alternatively, is there a configuration (parameters or metadata) that ensures all 20 reports are properly generated without being overridden?
1 Like
Hey @manoj.test.acc 
Welcome to the Postman Community! 
That’s a community reporter for Newman and not something that we would have any control over, we wouldn’t be able to make any changes.
If you’re using this in the command as the output location:
--reporter-allure-export <allure-results-out-dir>
You could do some magic on the terminal to create a timestamped filename i think (I’ve never used this reporter so I’m assuming based on my knowledge of Newman reporters).
Something like (I don’t know what the output file format is for this reporter):
/reports/reportName_$(date '+%d%m%Y_%H%M')
or
/reports/reportName_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%
Thanks @danny-dainton , the issue is not where the output folder is stored, but it how those output files are read and formed the html report. It does have 20 output files but those are merged to 5 files. Checking on how could those file be not merged/overiden while forming report.
If any expert opinion will be helpful, checking with Allure team as well for the issue.
I’m not sure that folks here would have any knowledge of what that reporter is doing - I would agree with reaching out the the person/team that created it to get a better insight.
The merging of the files would be something very specific to that reporter as that’s not a normal operation to do with a Newman run, it’s always a 1:1 relationship. 1 run gets 1 output report.