Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rahul-barick/postman-newman
Automate API Test Cases with Postman and Newman
https://github.com/rahul-barick/postman-newman
automated-tests command-line-tool newman postman postman-bdd postman-collection postman-export postman-pre-request-script postman-test testing-tools
Last synced: about 7 hours ago
JSON representation
Automate API Test Cases with Postman and Newman
- Host: GitHub
- URL: https://github.com/rahul-barick/postman-newman
- Owner: Rahul-Barick
- License: apache-2.0
- Created: 2018-05-02T16:53:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T17:51:27.000Z (over 6 years ago)
- Last Synced: 2024-04-16T09:19:23.312Z (7 months ago)
- Topics: automated-tests, command-line-tool, newman, postman, postman-bdd, postman-collection, postman-export, postman-pre-request-script, postman-test, testing-tools
- Homepage:
- Size: 62.5 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postman-newman
Write API Tests with Postman and Newman
## Postman
1. Postman is a good tool which we mostly use to quickly test APIs to see the result returned by them, but it's actually way more powerful than that.
2. Making API is hard but Postman makes it simpler,easier.
3. You can simply test any API and see the response immediately.
4. You can create a collection of API endpoints and call them whenever you want to see the responses.## Newman
1. We Write Tests in Postman, then export the collection and use Newman to run them directly from the command-line.
## Install Newman
```
npm i newman -g
```# Command-Line Interface
```
newman run Collection_fileName.json -e Enviornment_fileName.json
```
![Screenshot](postman-newman.png)