Testing Your APIs: Postman, Newman & Beyond
summary
Walks through a two-layer workflow: fast simple request tests with curl for quick endpoint validation, then full Postman collections using Chai JS assertions and Newman + bash mini-pipeline to automate runs locally and against Heroku. Uses Postman API to fetch Postman collections by id and environments, runs ~170 assertions for a small company API, emits CLI or HTML reports, and integrates a launch script that blocks commits or deployment when tests fail. The scripts run reliably in daily use.
AI-written summary · about
chapters (8)
- 0:00Introduction to API testing
- 1:05Goals of API testing
- 5:37Simple request testing with curl
- 11:11Using Postman for robust testing
- 18:52Structural element testing in Postman
- 23:30Automating tests with Newman
- 26:42Building a mini CI/CD pipeline
- 27:45Q&A session
related talks
40mAutomated API Tests with Postman
17mAPI Testing Unlocked
25mAutomation API Testing
01h 22mWorkshop: How to Create a Test Data-Driven Framework with Postman
15mAre Your APIs Performing Enough? Not Sure, Let’s Test It Then
07m“API Testing in Startups using Postman”
16mAutomation API Testing
01mEntrevista a Celia Martinez
