Projeto de automação de API com o Postman
.
Projeto voluntário supervisionado pela Qa.Coders para Testes de API executado pela equipe Convergentes
npm install -g newman
npm install -g newman-reporter-htmlextra
Clone o projeto:
git clone https://github.com/Lukas3570/convergentes-academy-api-postman
Para rodar os testes, rode os seguintes comandos:
Newman
newman run 1-Login_collection.json -e main_environment.json -g postman_globals.json
newman run 2-Users_collection.json -e main_environment.json -g postman_globals.json
newman run 3-Board_collection.json -e main_environment.json -g postman_globals.json
Htmlextra
newman run 1-Login_collection.json -e main_environment.json -g postman_globals.json -r htmlextra --reporter-htmlextra-export ./results/report.html
newman run 2-Users_collection.json -e main_environment.json -g postman_globals.json -r htmlextra --reporter-htmlextra-export ./results/report.html
newman run 3-Board_collection.json -e main_environment.json -g postman_globals.json -r htmlextra --reporter-htmlextra-export ./results/report.html