Raktim1988
(Raktim Biswas)
November 5, 2019, 4:56pm
1
Hello All β my question is when I export the report to a path, multiple files are being generated with the timestamp one after another, If I want to create only a single file and replace with the latest one, what should be done?
Hey @Raktim1988
Welcome to the community!
What version of Newman and the htmlextra reporter are you using?
What command are you using to run the Collection?
It should only export the created report files in the way that you describe, if you donβt add the export
flag. As this would create a newman
directory and store the files within it.
Using this command for example, would create the example.json
and overwrite that each time.
--reporter-htmlextra-export example.html
More options can be found on the repo:
# newman-reporter-htmlextra
![Newman htmlextra Reporter Logo](./examples/NewmanHtmlextraReporterLogo.png)
[![Build and Test](https://github.com/DannyDainton/newman-reporter-htmlextra/workflows/Build%20and%20Test/badge.svg)](https://github.com/DannyDainton/newman-reporter-htmlextra/actions)
[![NPM Version](https://img.shields.io/npm/v/newman-reporter-htmlextra.svg?style=flat-square)](https://www.npmjs.com/package/newman-reporter-htmlextra)
[![NPM Weekly Downloads](https://img.shields.io/npm/dw/newman-reporter-htmlextra.svg?style=flat-square)](https://www.npmjs.com/package/newman-reporter-htmlextra)
[![NPM Downloads](https://img.shields.io/npm/dt/newman-reporter-htmlextra.svg?style=flat-square)](https://www.npmjs.com/package/newman-reporter-htmlextra)
[![Docker Pulls](https://img.shields.io/docker/pulls/dannydainton/htmlextra?style=flat-square)](https://hub.docker.com/r/dannydainton/htmlextra)
A [Newman](https://github.com/postmanlabs/newman) HTML reporter that has been extended to include the separation of the iteration runs so these are no longer aggregated together and also some additional `handlebars helpers` to enable users to create better custom templates.
This reporter comes with a dashboard style summary landing page and a set of different tabs which contain the detailed request information. There are also a few optional configuration flags available, to tailor the final report in a number of different ways.
---
This project will always continue to be fully maintained free of charge - If you're a fan of the project and it's something you get value from, it would be lovely to pay that forward in the means of a donation.
All donations are not kept by me, these are passed on to local charities. Other people need the help that these donations will provide more than I need coffee. π
This file has been truncated. show original