Skip to content

Commit

Permalink
feed + collection run text
Browse files Browse the repository at this point in the history
  • Loading branch information
Naresh Sekar committed Jul 20, 2020
1 parent 116adde commit 867cb8d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,20 @@ If you have environment file to be passed, you can conviniently do the same.

```
newman-run -c <./collection/<example_collection.json> -e <./environment/<example_env.json>
```
or
```
newman-run -c <https://www.getpostman.com/collections/3423refwef-dfdfwfw2322-6878-eb58u> -e <./environment/<example_env.json>
```

You can also specifiy both the feed file as well as collections at the same time.

```
newman-run -f <./feed/<feed_file.json> -c <https://www.getpostman.com/collections/3423refwef-dfdfwfw2322-6878-eb58u>
or
newman-run -f <./feed/<feed_file.json> -c <https://www.getpostman.com/collections/3423refwef-dfdfwfw2322-6878-eb58u> -e <./environment/<example_env.json>
```

This allows us to run any collection dynamically along with our set of collections.

The above will take care the reporting part and we don't need to mention about that from the command line. Along with allure reports, newman's default CLI, HTML and JSON reports are added which can be found at `reports/` path. For sophesticated classification, reports for each collection is isolated with different name. If needed JSON and HTML files can be pushed to S3 for further processing or to have a record.


Expand Down

0 comments on commit 867cb8d

Please sign in to comment.