Learn Postman for API Testing (Step-by-Step Tutorial)
Automation Step by Step
@raghavpalAbout
Simple Basic Beginners Step-by-Step tutorials ❤️ I create videos on Automation, Testing, DevOps, CI and related tools, technologies and platform Raghav is a teacher and founder of AutomationStepByStep.com He was an Automation Architect and has led multiple teams of Automation and DevOps Engineers. For over a decade, Raghav witnessed, worked, and delivered multiple Automation Testing Projects and worked with some awesome people in this industry ► https://automationstepbystep.com/ Some topics covered: - Jenkins - JMeter - Selenium - Appium - Cypress - Playwright - Katalon Studio - API Testing - Postman - Docker - Kubernetes - Other DevOps topics Words from Raghav We often need someone to hold our hand and help us take the first few steps before we learn to walk and run. I am on a mission to spread education and make it available to anyone willing to learn Never Stop Learning Raghav All education here is FREE FOR ALL, FOREVER Share with as many people as you can in your lifetime
Video Description
This step-by-step tutorial will take you from zero to Postman hero 00:00 TOPICS 03:31 What is Postman 05:32 Start Postman | SignUp | Setup 09:40 Understand GUI 17:26 How to add GET API Request 26:50 Run and check Response 30:57 POST Request 37:47 PUT & PATCH Request 42:11 DELETE Request 43:43 COLLECTIONS 01:02:16 VARIABLES 01:11:17 GET & SET VARIABLES with SCRIPTS 01:21:04 ENVIRONMENT 01:30:54 SCRIPTS 01:32:18 TESTS in case you are using apis from reqres.in ** IMP UPDATE ** https://www.youtube.com/watch?v=iYL4MF7nHZ4 On Windows | Mac | Linux Or Use directly on web browser What is Postman Postman is a platform for API Development Testing Management Step 1 - Goto Postman website https://www.postman.com/ | Step 2 - Create Account | Check Email and verify account Step 3 - Can download Postman OR use Postman on web browser Step 4 - Login to Postman Step 5 - Explore GUI and features – How to add GET API Request Step 1 - Select the HTTP Method Step 2 - Add the API endpoint Step 3 - Add Headers, Authorizations etc as needed Step 4 - For POST, PUT requests add Body Step 5 - Save & Run, Check response Sample APIs for Testing https://reqres.in/ https://httpbin.org/ https://fakerestapi.azurewebsites.net/ https://dummy.restapiexample.com/ - How to add POST API Request Step 1 - Create a new HTTP Request Step 2 - Select the HTTP Method POST Step 3 - Add the API endpoint Step 4 - Add Headers, Authorizations etc as needed Step 5 - For POST requests add Body Step 6 - Save & Run, Check response How to add PUT and PATCH API Request Step 1 - Create a new HTTP Request Step 2 - Select the HTTP Method PUT for replacing the complete resource PATCH for partially updating the resource Step 3 - Add the API endpoint Step 4 - Add Headers, Authorizations etc as needed Step 5 - Add Body as needed Step 6 - Save & Run, Check response How to add DELETE API Request Step 1 - Create a new HTTP Request Step 2 - Select the HTTP Method DELETE Step 3 - Add the API endpoint Step 4 - Add Headers, Authorizations etc as needed Step 5 - Save & Run, Check response COLLECTIONS 1. What is COLLECTION 2. How to create Collection 3. How to create folders inside collection 4. How to arrange requests inside collection 5. How to bring your Collection to the top VARIABLES What are variables Why and when to use variables How to create variables How to refer variables Can create variables at following levels (scope) Global Collection Environment Data Local Can refer variables in: Requests Scripts Collection Environment Priority Local Data Env Collection Global Get & Set Variables with Scripts Set Variables with script Global: pm.globals.set("name", "Edison"); Collection: pm.collectionVariables.set("name", "Newton"); Environment: pm.environment.set("name", "Rutherford"); Local: pm.variables.set("name", "Ramanujan"); Get Variables with script Global: pm.globals.get("name"); Collection: pm.collectionVariables.get("name"); Environment: pm.environment.get("name"); Local: pm.variables.get("name"); **access a variable at any scope including local based on priority To remove: pm.environment.unset("name"); To print variable value: console.log(pm.variables.get("name")); Priority Local Data Env Collection Global ENVIRONMENT What is Environment Why do we need Environments How to create Environment How to use Environment How to delete Environment Environment is a set of key-value pairs Step 1 - Create a api request Step 2 - Create environments and add key-value pairs (variables) Step 3 - Refer the variables in request Step 4 - Select the environment from dropdown and run request Step 5 - Create more environments and execute request TESTS What are Tests in Postman How to create tests at REQUEST level How to create tests at FOLDER level How to create tests at COLLECTION level Tests in Postman are JavaScript code that is executed after receiving response Step 1 - Create a api request Step 2 - Check the Scripts - Post-response section under Request Collection Folder Step 3 - Create and run tests #Postman #APITesting #RESTAPI #SoftwareTesting #Tutorial #Beginners ▬▬▬▬▬▬▬ All Step by Step Tutorials 🟢 https://AutomationStepByStep.com/ 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 ▬▬▬
Instant Crafting Essentials
AI-recommended products based on this video

Lip Stain Peel Off Kit Tint Long Lasting Gloss Sets Colored Colors Nonstick Cup Tear Lipsticks Makeup For Women Girls,2.5ml Girls Clear1012 (A, One Size)

Paint Sprayer Electric Spray Gun: 700W Spray Paint Gun with 1200ml Container, 4 Nozzles & 3 Patterns, Adjustable Air Flow, Easy Cleaning for House Painting, Furniture, Fence, Walls, Door (Royal Blue)

Maped 378146 Kidicut Safety Scissors with Fiberglass Blades, 12-Centimeter, Assorted Colours

BIBURY Multitool Pliers BI2038B, 22-in-1 Stainless Steel Multi Tool with Flint, Window Breaker, Scissors, Back Clip, Folding Pocket Multifunctional Self-locking EDC Tool for Survival Camping Hiking

Victorinox Huntsman Swiss Army Knife, 15 Functions, Swiss Made Pocket Knife with Large Blade, Screwdriver, Scissors and Wood Saw - White

COMEBO 2 PCS Pack Stainless Steel Swiss Style Army Pocket Knife Multitools 12-in-1 Multi Function with Opener Screwdrivers Saw Scissors

Handmade 3pcs in Set Cowboy Boots and Hat Clip on Charm for Diy Necklace Bracelet Bags, Enamel Charm Western Style Jewelry Accessories

Girls Charm Bracelet Making Kit: Unicorn Toys for Girls Gifts 8-12 Years Old, Birthday Gifts 6 7 8 9 10 Year Old Girl Gift Ideas, Inspires Creativity Art and Crafts for Kids Age 6-8 Jewelry Making Set

LEGO Speed Champions Oracle Red Bull Racing RB20 F1 Race Car Model Kits - Building Set for Adults, Ages 18+ with Realistic Features - Red Bull F1 DIY Crafts for Display - Gift Idea for F1 Fans - 77243

Lip Stain Peel Off Kit Tint Long Lasting Gloss Sets Colored Colors Nonstick Cup Tear Lipsticks Makeup For Women Girls,2.5ml Girls Clear1012 (A, One Size)



















