This framework automates the execution of multiple Postman collections using Newman and generates detailed HTML reports. It recursively retrieves all collection files from the collections
folder and executes them sequentially using the specified environment configuration.
- Clone the repository.
- Install dependencies:
npm install
/collections # Folder for Postman collection JSON files
/environment # Folder for environment JSON files
index.js # Main script to execute collections
newman.js # Newman execution logic
config.js # Configuration file for environment selection
- Add your Postman collections to the
collections
folder. - Add your environment JSON to the
environment
folder. - Update the
envFile_name
inconfig.js
with your environment file name. - Run the script:
node index.js
HTML reports will be generated in the report
folder, organized by date.
This script is licensed under the Apache License. See LICENSE.md for more details.