Summary
Keywords
Full Transcript
Learn API Testing with a real-world e-commerce mini project using Postman In this session, you will test a complete business flow: Fetch products → Add to cart → Validate cart → Automate full flow This is how real API testing is done in companies Mini-Project 1 - https://youtu.be/KbQauUQAM-A ▬▬▬▬▬▬▬ 🎯 What you will learn: • How real e-commerce APIs work • How to fetch products using GET API • How to extract dynamic data (product_id) • How to send POST request with JSON body • How to simulate Add to Cart functionality • How to chain API requests • How to validate API responses using test scripts • How to validate business logic (cart total, products) • How to run full API flow using Collection Runner • How to debug API failures • How to use AI (Ask AI) in Postman ▬▬▬▬▬▬▬ ⏱ Timestamps 00:00 Introduction - What will we do 01:39 Recap - Mini-project 1 03:06 Step 1 - Add Request - Add to Cart - POST {{base_url}}/carts/add 06:30 Step 2 - Add tests and script to save cart_id 10:24 Step 3 - Add Request - Get Cart Details - Get GET {{base_url}}/carts/{{cart_id}} 11:56 Step 4 - Add Tests 14:03 Step 5 - Check negative conditions Remove token Wrong product_id Failures teach more than success 15:24 Step 6 - Run complete Collection Now we are testing a complete business flow automatically 16:48 Summary 17:38 QUIZ - https://forms.gle/74kExiijucBdZkxDA This is exactly how real e-commerce APIs are tested in companies ▬▬▬▬▬▬▬ LEARN & PRACTICE ▬▬▬▬▬▬▬ 🌐 Download Postman: https://www.postman.com/downloads/ 🧪 Practice API: https://dummyjson.com/docs 📄 Postman Docs: https://learning.postman.com/docs/ ▬▬▬▬ USEFUL LINKS ▬▬▬▬ ✅ ALL TUTORIALS - https://AutomationStepByStep.com/ ✅ CI | CD | DEVOPS Jenkins Beginner - https://bit.ly/2MIn8EC Docker - https://bit.ly/2MInnzx Jenkinsfile - https://bit.ly/3JSMSZ7 Kubernetes - http://bit.ly/2MJIlMK Vagrant - https://bit.ly/3MVKdBt Ansible - https://bit.ly/3MUsY3h Terraform - https://bit.ly/4hMh3l6 CircleCI - https://bit.ly/4k1AYhw ✅ WEB TESTING Selenium Beginners - https://bit.ly/2MGRS8K Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6 Selenium Python - https://bit.ly/2oyMp5x Selenium 4 - https://bit.ly/3AiJOlP Selenium Builder - https://bit.ly/2MKNtlq Katalon Studio - https://bit.ly/2wARFdi Robot Framework with RIDE- https://bit.ly/2Px6Ue9 Robot Framework with Eclipse - http://bit.ly/2N8DZxb Testim - https://bit.ly/3VbnNQb TestCafe - https://bit.ly/3O6eYmK AccelQ - https://bit.ly/3PlsAsh Cucumber BDD - https://bit.ly/3Cnno4z Cypress - https://bit.ly/3PpEukM Playwright - https://bit.ly/3iuPByJ WebdriverIO - https://bit.ly/3IJyofA XPath & Web Locators - https://bit.ly/3PpEvoQ ✅ API TESTING Web Services (API) - https://bit.ly/2MGafL7 SoapUI - https://bit.ly/2MGahmd Postman - https://bit.ly/2wz8LrW Rest Assured - https://bit.ly/3zUdhRD Karate API Testing - https://bit.ly/3w3H5Ku General - https://bit.ly/2PYdwmV JMeter API Testing - https://bit.ly/3AgVPar Katalon Studio API Testing - https://bit.ly/2BwuCTN API Mocking - https://bit.ly/3bYPsjS ✅ MOBILE TESTING Appium - https://bit.ly/2ZHFSGX Appium 2 - https://bit.ly/3UJujNJ Mobile Playlist - https://bit.ly/2PxpeUv ✅ PERFORMANCE TESTING JMeter Beginner - https://bit.ly/2oBbtIU Gatling - https://bit.ly/3QrWfkV Performance Testing - https://bit.ly/2wEXbLS k6 - http://bit.ly/3LOSJUN ✅ SOURCE CODE MANAGEMENT Git & GitHub - https://bit.ly/2Q1pagY GITLAB - http://bit.ly/2kQPGyQ ✅ IDE Eclipse - https://bit.ly/3AnRhQP IntelliJ IDEA - https://bit.ly/3AnyDZ8 Visual Studio Code - https://bit.ly/2V15yvt ✅ PROGRAMMING Java Beginners - https://bit.ly/2PVUcXs Java Tips & Tricks - https://bit.ly/2CdcDnJ Groovy - https://bit.ly/2FvWV5C JavaScript - http://bit.ly/2KJDZ8o TypeScript - https://bit.ly/3dvJBmz Python - http://bit.ly/2Z4iRye Ruby - https://bit.ly/3JRRmzf ✅ BUILD TOOLS Maven - https://bit.ly/2NJdDRS Gradle - http://bit.ly/30l3h1B ✅ CLOUD SERVICES Browserstack - https://bit.ly/3w7kxZn Saucelabs - https://bit.ly/3w7kAo1 LambdaTest - https://bit.ly/3C6TBwM ✅ PROJECT MANAGEMENT Jira - https://bit.ly/3AFzE1L ✅ DATA FORMATS JSON - https://bit.ly/3w450tq XML - https://bit.ly/3PqRneH 🙌 Connect with Raghav: * Ask Raghav: https://bit.ly/2CoJGWf * GitHub: https://github.com/Raghav-Pal * Udemy: https://www.udemy.com/user/raghav-pal-3/ Shorts - https://bit.ly/3H9bifV ▬▬▬▬▬▬▬ If this video helps you, please share with all who may need this If my work has helped you, consider helping any animal near you in any way you can Never Stop Learning Raghav Pal ▬▬▬▬▬▬▬ postman add to cart api postman e commerce api testing postman chaining requests tutorial postman real project tutorial api testing real world example postman automation flow postman collection runner tutorial #postman #apitesting #postmantutorial #restapi #automationtesting
