Skip to content

Commit

Permalink
refactor(README,IMAGES): update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosEllys committed Sep 7, 2018
1 parent 405a6c3 commit 0d15741
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# newman-html-report-template-verbose
# Newman HTML Report Template

a newman html report template which contains request and response details (body plus http headers) in the report.
(similar what you could get with the newman v2 -O out option)

Expand All @@ -8,6 +9,10 @@ The template is a modification from the [original reporter file](https://github.

[Awesome Newman Html Template](https://marcosellys.github.io/awesome-newman-html-template/)

## Collection of tests

[Postman Echo](https://www.getpostman.com/collections/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65-JsLv?referrer=https%3A%2F%2Fdocs.postman-echo.com%2F#)

## Advantages:

- Built with the world's most popular front-end component library.
Expand All @@ -17,16 +22,21 @@ The template is a modification from the [original reporter file](https://github.
- With a modern library to copy text to clipboard.

## Prints
* Report Tab

### Report Tab

<p align="center">
<img alt="Initial Screen" src="https://raw.githubusercontent.com/MarcosEllys/awesome-newman-html-template/master/prints/one.png">
</p>
* Request Tab

### Request Tab

<p align="center">
<img alt="Request opened" src="https://raw.githubusercontent.com/MarcosEllys/awesome-newman-html-template/master/prints/two.png">
</p>

* Request opened
### Failures Tab

<p align="center">
<img alt="Requ2est opened" src="https://raw.githubusercontent.com/MarcosEllys/awesome-newman-html-template/master/prints/three.png">
</p>
Expand All @@ -37,8 +47,9 @@ The template is a modification from the [original reporter file](https://github.
- [Fuse JS](http://fusejs.io/)

## How to use
* install newman
* call newman as follows:
* [Install Newman](https://github.com/postmanlabs/newman-reporter-html)
* [Install Report HTML](https://github.com/postmanlabs/newman-reporter-html)
* Call newman as follows:
```
newman run -e env-INTEG.json --reporters cli,html --reporter-html-template templates/htmlreqres.hbs --reporter-html-export nice_report.html mycollection.postman.json
newman run -e my.environment.json -g my.globals.json --reporters cli,html --reporter-html-template templates/htmlreqres.hbs --reporter-html-export my_report.html my.collection.postman.json
```
Binary file modified prints/one.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified prints/three.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified prints/two.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d15741

Please sign in to comment.