Skip to content

khaledlim/Postman

Repository files navigation

Postman & Newman (CLI)

Installation

1. Installer Node.js

Télécharger et installer depuis : https://nodejs.org/

2. Installer Newman (exécuteur Postman en CLI)

npm install -g newman

3. Installer le reporter HTML

npm install -g newman-reporter-html

4. (Optionnel) Installer html-pdf pour générer un rapport PDF

npm install -g html-pdf


Exécuter une collection Postman

Exécution simple (affichage CLI uniquement)

newman run Sample_collection.json

Exécuter avec un rapport HTML

newman run Sample_collection.json -r html

Exécuter avec plusieurs reporters (CLI + HTML)

newman run Sample_collection.json -r cli,html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors