I was using Postman in my previous company for basic use. Now after I gone through this video, I came to know about the nuances of the Postman and its entire usage. I'm confident now that I can showcase my skills and knowledge moving forward in Postman. Thank you! #KeepTeaching #KeepLearning
I have experience in API with postman, But I need to revise everything from start because from last 2 years i didn't working on API, So I will start this Session but in advance I want to THANK YOU Sir for this Easy & Simple Course 👍 I will start & complete.
This is the BEST video that I have come across which covers overview on API and how to use Postman tool so very well! Awesome work and presentation! Very helpful.👏
Really good video. I also appreciated you correcting and troubleshooting. Always good to know why things aren't working and showing how to correct. Thank you!
@@RaghavPal Like your other old video on Postman will this single video cover everything on Postman or you have planned more videos in the Postman Series
Andy i made this video as there were some Interface changes in new version. Old videos are still valid and if you cannot find any topic here can check the earlier ones.
Hello Sir, can you please make a playlist for beginners , which video we should follow step wise? Like first we should know manual testing then we should know jira, java script, postman. Etc. I want start my career in testing. What should I do i know before give any interview?
Havva Yes, both PUT and PATCH are used to update resources via APIs, but they differ in their approach: 1. PUT: - Replaces the entire resource with the new data - Requires sending the complete payload - Example: Updating all user details 2. PATCH: - Partially updates the resource - Only the fields provided in the request are updated - Example: Updating just the user's email ### Execution: Yes, you send them in a similar way (same HTTP methods), but the request body differs: - PUT: Complete data - PATCH: Partial data
Samved Yes, if you follow this along with hands-on you should be able to tackle postman interview questions. Also can check more Postman lectures here - automationstepbystep.com/
hi Raghav, I was following this great course but when I try to run the collection I got this error, I was looking for a fix on internot but not lucky so far, have you any idea what can I do to fix this? thanks in advance: Failed running the collection: TypeError: Cannot read properties of undefined (reading 'id')
Finally I found the issue is because I was using the web application, I installed desktop app and now everything is working, thank you very much you for this great course
Is it possible to have different envs for the same collection? And to be able to use variables from them in one collection run? This is needed to group the variables in an understandable manner and for easier maintenance.
Slobodan 1. **Create Environments**: Go to **Environments** in Postman and create different environments (e.g., `Dev`, `QA`, `Prod`). 2. **Add Variables**: Define variables (e.g., `base_url`, `api_key`) in each environment. 3. **Use Variables**: In your collection, use variables like `{{base_url}}`. 4. **Run Collection**: In **Collection Runner**, select the desired environment. Variables from that environment will be used. This allows you to manage different environments and variables in one collection -
Raghav please teach us AI from scratch to Expert Level... And I can only request you because there is no one better than you and AI is the need of the hour
Shubh To check if the JSON response is static or dynamic, you can use the following methods: Static JSON Response A static JSON response is one that remains the same for every request. To check if the response is static: Send the same request multiple times. Compare the responses to see if they are identical. If the responses are identical, it's likely a static response. Dynamic JSON Response A dynamic JSON response is one that changes based on certain conditions, such as input parameters or user data. To check if the response is dynamic: Send the same request with different input parameters (e.g., different query parameters or request bodies). Compare the responses to see if they are different. If the responses are different, it's likely a dynamic response. Example: Let's say you're testing a API endpoint that returns a list of users. You send a GET request to example.com/users and receive the following JSON response: [ { "id": 1, "name": "John Doe" }, { "id": 2, "name": "Jane Doe" } ] To check if the response is static or dynamic, you can try the following: Send the same request multiple times and compare the responses. If they are identical, it's likely a static response. Send the request with different query parameters, such as example.com/users?sort=name. If the response changes, it's likely a dynamic response.
Hello Sir Thank you for the amazing video. Could you please make a similar update video for docker + kubernetes? I think if you teach them together as well, it will he more intuitive. Thank you again sir, great stuff
Hello @RaghavPal, I am an old developer and I missed the tablets and phones as devices to be used in a REST API environment, basically stuck on Windows. i would like to migrate my windows clients to Android using REST API, but still keeping my database as I have now (basically a Ms-access db). I know is to the subject of the video you created, but I though you may point me in the correct direction. Thank you beforehand If you can read this
Alright, let's try to craft a basic roadmap to help you migrate your Windows clients to Android using REST APIs while keeping your existing MS Access database Core Idea: You'll essentially be building a bridge between your Android app and your MS Access database. The Android app will send requests (like "get this data" or "update that record") to your REST API, and the API will handle talking to your database and sending the appropriate responses back to the app. Basic Steps: Set up a REST API Server: You'll need a server-side environment to host your API. Consider options like: Node.js with Express.js (popular and relatively easy to learn) Python with Flask or Django .NET Core Web API (if you're comfortable with C#) Even PHP can work if you're familiar with it This server will receive requests from your Android app, process them, interact with your MS Access database, and send back the results. Connect your API to the MS Access Database: You'll need a way for your server-side code to talk to your MS Access database. Libraries like node-adodb (for Node.js) or pyodbc (for Python) can help establish this connection Design your API Endpoints: Think about the types of operations your Android app will need to perform (e.g., fetching customer data, adding new orders, updating inventory). Create API endpoints (URLs) for each of these operations. For example: GET /customers to fetch a list of customers POST /orders to add a new order PUT /inventory/{id} to update inventory for a specific item Build your Android App: Use Android Studio and either Java or Kotlin to develop your app. Utilize libraries like Retrofit or Volley to make HTTP requests to your REST API. Handle the responses from the API and display the data in your app's user interface Example (Using Node.js with Express.js and node-adodb): JavaScript const express = require('express'); const ADODB = require('node-adodb'); const app = express(); const connection = ADODB.open('Provider=Microsoft.ACE.OLEDB.12.0;Data Source=your_database.accdb;'); app.get('/customers', async (req, res) => { try { const result = await connection.query('SELECT * FROM Customers'); res.json(result); } catch (error) { res.status(500).json({ error: error.message }); } }); // ... other endpoints app.listen(3000, () => console.log('Server listening on port 3000')); Use code with caution. Important Considerations: Security: Make sure to implement proper security measures to protect your API and database from unauthorized access. Error Handling: Include robust error handling in both your API and Android app to gracefully handle any issues that might arise Testing: Thoroughly test your API and Android app to ensure everything works as expected Remember: This is a simplified overview. The actual implementation will involve more details and complexities. Break down the process into smaller, manageable tasks. Don't hesitate to seek help from online resources or communities. Let me know if you have any specific questions or would like more elaboration on any of the steps -
@@RaghavPal Thanks so much for your reply. At the time i wrote you, i was at the hospital with recently discovered kidney problem. I had to give up my phone, I could not check on this post again. Well, I am much better and on a road to recovery and a few minutes ago I just read your full response. The pointer are superb and indeed will lead me in a new direction , that I had not considered (node.js). Thanks for your kindness and orientation. Humberto
You're welcome Humberto ..Glad to hear you're on the road to recovery .. I'm thrilled that my response was helpful and opened up a new direction for you Take care of yourself and feel better soon -
Hi Raghav Thanks for this video, it's really helped me. Kindly help with videos to generate Postman report using Newman Haven't been having some difficult recently with the Newman report
Yash If you have completed entire 2022 playlist with hands-on, you can just watch the initial parts on GUI n features where we have some changes in new version.. Rest will be good 👍🏻
After using POST Method for creating / adding new data, then I ran GET request but I didn't find newly added test data, it says 404 Not found. Weirdly when tried to update using PUT ,it worked. Why is it it not displaying using GET request?
In case you are using the demo apis like reqres.in, the data does not get created on the server when you run Post, so you may not get that data when you run GET. In case you are using some other REAL APIs Here’s why the GET request is not showing the new data and how to fix it: ### Possible Reasons: 1. Data Not Persisted: The POST method might not be saving the data to the server/database. 2. Wrong Endpoint for GET: The GET request might be pointing to an incorrect URL or resource. 3. Caching Issue: The server might not be refreshing the data immediately. 4. Different Environments: POST and GET might be hitting different servers or environments. 5. POST Response Not Correct: The POST request may succeed but not actually create the resource. ---
Siddardha Here’s a quick fix for your issue: 1. Check Content-Type Header - For `Body > Raw`, set the Content-Type header to `application/json`. - For `Form-Data`, Postman automatically sets the correct headers. 2. Validate JSON Format - Ensure your JSON in `Body > Raw` is properly formatted and valid. 3. Check API Documentation - Confirm if the API specifically requires `form-data` instead of `raw`. 4. Test with Form-Data - If it works with `form-data`, stick with it unless the API mandates `raw`. Let me know if the issue persists
Hi Raghav.... I cant login into my postman account since i have forgot my password ..if i try with forgot password option ..i couldn't find any pwd reset link in my mail box...could you plse help me with a solution
Check Spam/Junk Mail: Look for the reset link in the spam/junk folder of your email. Resend Reset Link: Try using the "Forgot Password" option again and ensure the email address is correct. Contact Support: Reach out to Postman support via their Help Center for assistance. Alternative Login: If you've previously linked a Google or GitHub account, try signing in using those credentials.
Indu 1. Open Postman. 2. Go to the **Environments** tab (top-right gear icon). 3. Find the environment you want to delete. 4. Click the trash/bin icon next to it. 5. Confirm deletion. Done! ✅ -
I was using Postman in my previous company for basic use. Now after I gone through this video, I came to know about the nuances of the Postman and its entire usage. I'm confident now that I can showcase my skills and knowledge moving forward in Postman.
Thank you! #KeepTeaching #KeepLearning
Glad it was helpful Vignesh.. keep learning
I have experience in API with postman, But I need to revise everything from start because from last 2 years i didn't working on API, So I will start this Session but in advance I want to THANK YOU Sir for this Easy & Simple Course 👍 I will start & complete.
All the best
This is the BEST video that I have come across which covers overview on API and how to use Postman tool so very well! Awesome work and presentation! Very helpful.👏
Thanks for the kind words Shilpa.. Keep exploring the world of API testing.
This is the most premium stuff I have ever seen.
Thanks a Lot sir!
You are welcome! Glad to hear it was helpful
This is the most premium stuff I have ever seen.
So happy to hear this.. keep learning
I have watched some of your videos and playlists, and I am confident in saying that you are the best, Raghav 💗
That's really kind of you Hesham.. Keep learning
i just went through this video and found out really useful.Very useful for practice for interviews
Glad it was helpful Pooja
Thank you so much for this. I appreciate the work you're doing for the community
My pleasure Shivam
Really good video. I also appreciated you correcting and troubleshooting. Always good to know why things aren't working and showing how to correct. Thank you!
I'm glad you found the troubleshooting part useful! Thanks for watching Thomas
Fantastic video sir, you have covered everything in a single video
Most welcome
bhai i have seen some postman videos , but your way of explaining is the best , thank you so much for a great video
So nice of you Tazba
This was very helpful…. You just gained a subscriber. Thank you
You're welcome, happy to have you Jules
Wild fire hai mera Raghav 😊. Thank you 😊for your teaching. I am learning and applying for job❤
I’m glad my videos are helpful! 😊
Thank you Raghav, for your effort in helping people understand the concepts in a very simple way
So nice of you Chandrashekhar
Very nice video which has covered a lot at initial level. Thanks a lot.👍
Most welcome K.K.
Thanks alot for the beneficial and short videos, it helped me alot❤ keep teaching ♥️
Glad to hear that
Oh wow I was wondering when will get updated videos on postman api or rest assured. Here we have. 🎉 👏
Great to know this Andy
@@RaghavPal Like your other old video on Postman will this single video cover everything on Postman or you have planned more videos in the Postman Series
Andy i made this video as there were some Interface changes in new version. Old videos are still valid and if you cannot find any topic here can check the earlier ones.
This is so simplified. Thank you
Glad it was helpful
thank you so much, You are amazing teacher *****
Most welcome
Thank you for this update and training....Love you
Most welcome
Great video, thanks!
You're welcome
Very helpful video! Thank you!
Glad it was helpful Jack
Sir, really thank you soo soo much, 🙏😢 it' very helpful for me
Most welcome Bhupinder
thank you so much sir !
You're welcome Amanda, I'm glad it helped!
Wonderfful Explanation
Thanks, glad you found it helpful
🎉 amazing explanation sir...... Amazing.... thanks..... what's the next step to learn after this plz suggest
Thanks, can check more Postman and API tutorials here - automationstepbystep.com/
Please explain the Newman command runner too.
Sure, can check other Postman videos here automationstepbystep.com/
Thanks for sharing
Glad you liked it, keep practicing
very helpful video
Appreciate the feedback, glad it was helpful
Hello Sir, can you please make a playlist for beginners , which video we should follow step wise? Like first we should know manual testing then we should know jira, java script, postman. Etc. I want start my career in testing. What should I do i know before give any interview?
Okay Lalita, i will plan something on this
Put and patch what is the major difference? In both way we are running the program in the same way right?
Havva
Yes, both PUT and PATCH are used to update resources via APIs, but they differ in their approach:
1. PUT:
- Replaces the entire resource with the new data
- Requires sending the complete payload
- Example: Updating all user details
2. PATCH:
- Partially updates the resource
- Only the fields provided in the request are updated
- Example: Updating just the user's email
### Execution:
Yes, you send them in a similar way (same HTTP methods), but the request body differs:
- PUT: Complete data
- PATCH: Partial data
Hi Raghav, Please post videos on Tableau, ETL Testing, Accessibility Testing (JAWS) and Penetration testing (Burpsuite)
Sure Hari
I will plan for this
are all the topics covered in this video and is this tutorial enough to learn postman tool in detail and crack the interview.please respond
Samved
Yes, if you follow this along with hands-on you should be able to tackle postman interview questions. Also can check more Postman lectures here - automationstepbystep.com/
hi Raghav, I was following this great course but when I try to run the collection I got this error, I was looking for a fix on internot but not lucky so far, have you any idea what can I do to fix this? thanks in advance: Failed running the collection: TypeError: Cannot read properties of undefined (reading 'id')
Finally I found the issue is because I was using the web application, I installed desktop app and now everything is working, thank you very much you for this great course
Great.. keep learning Hector
Thanks for the tutorial. Do you have videos on REST Assured as well? I don't see that under your videos, so I'm asking.
Yes, can check all here - automationstepbystep.com/
Great job
Thanks
Can you please make a tutorial video on Ready API?
I will plan Ananthnag
Thankyou raghav sir 🎉
Most welcome Gowtham
Is it possible to have different envs for the same collection? And to be able to use variables from them in one collection run? This is needed to group the variables in an understandable manner and for easier maintenance.
Slobodan
1. **Create Environments**: Go to **Environments** in Postman and create different environments (e.g., `Dev`, `QA`, `Prod`).
2. **Add Variables**: Define variables (e.g., `base_url`, `api_key`) in each environment.
3. **Use Variables**: In your collection, use variables like `{{base_url}}`.
4. **Run Collection**: In **Collection Runner**, select the desired environment. Variables from that environment will be used.
This allows you to manage different environments and variables in one collection
-
Raghav please teach us AI from scratch to Expert Level... And I can only request you because there is no one better than you and AI is the need of the hour
I will work on this Abhijeet
@@RaghavPal thanks sir
How to parametrize the data,like for example how to keep different values for field "email", every time i run these tests
Rahul
I have covered variables and data driven in other playlists of Postman. Can check here - automationstepbystep.com/
Thank you sir
Most welcome Sneha
Please tell how to check json response is normal or dynamic.
Shubh
To check if the JSON response is static or dynamic, you can use the following methods:
Static JSON Response
A static JSON response is one that remains the same for every request. To check if the response is static:
Send the same request multiple times.
Compare the responses to see if they are identical.
If the responses are identical, it's likely a static response.
Dynamic JSON Response
A dynamic JSON response is one that changes based on certain conditions, such as input parameters or user data. To check if the response is dynamic:
Send the same request with different input parameters (e.g., different query parameters or request bodies).
Compare the responses to see if they are different.
If the responses are different, it's likely a dynamic response.
Example:
Let's say you're testing a API endpoint that returns a list of users. You send a GET request to example.com/users and receive the following JSON response:
[
{
"id": 1,
"name": "John Doe"
},
{
"id": 2,
"name": "Jane Doe"
}
]
To check if the response is static or dynamic, you can try the following:
Send the same request multiple times and compare the responses. If they are identical, it's likely a static response.
Send the request with different query parameters, such as example.com/users?sort=name. If the response changes, it's likely a dynamic response.
Hi, can I know how to test Mobile Application using POSTMAN ?
Hello Sir
Thank you for the amazing video. Could you please make a similar update video for docker + kubernetes?
I think if you teach them together as well, it will he more intuitive. Thank you again sir, great stuff
I will do Aviral
Hello @RaghavPal, I am an old developer and I missed the tablets and phones as devices to be used in a REST API environment, basically stuck on Windows. i would like to migrate my windows clients to Android using REST API, but still keeping my database as I have now (basically a Ms-access db). I know is to the subject of the video you created, but I though you may point me in the correct direction. Thank you beforehand If you can read this
Alright, let's try to craft a basic roadmap to help you migrate your Windows clients to Android using REST APIs while keeping your existing MS Access database
Core Idea:
You'll essentially be building a bridge between your Android app and your MS Access database. The Android app will send requests (like "get this data" or "update that record") to your REST API, and the API will handle talking to your database and sending the appropriate responses back to the app.
Basic Steps:
Set up a REST API Server:
You'll need a server-side environment to host your API. Consider options like:
Node.js with Express.js (popular and relatively easy to learn)
Python with Flask or Django
.NET Core Web API (if you're comfortable with C#)
Even PHP can work if you're familiar with it
This server will receive requests from your Android app, process them, interact with your MS Access database, and send back the results.
Connect your API to the MS Access Database:
You'll need a way for your server-side code to talk to your MS Access database.
Libraries like node-adodb (for Node.js) or pyodbc (for Python) can help establish this connection
Design your API Endpoints:
Think about the types of operations your Android app will need to perform (e.g., fetching customer data, adding new orders, updating inventory).
Create API endpoints (URLs) for each of these operations.
For example:
GET /customers to fetch a list of customers
POST /orders to add a new order
PUT /inventory/{id} to update inventory for a specific item
Build your Android App:
Use Android Studio and either Java or Kotlin to develop your app.
Utilize libraries like Retrofit or Volley to make HTTP requests to your REST API.
Handle the responses from the API and display the data in your app's user interface
Example (Using Node.js with Express.js and node-adodb):
JavaScript
const express = require('express');
const ADODB = require('node-adodb');
const app = express();
const connection = ADODB.open('Provider=Microsoft.ACE.OLEDB.12.0;Data Source=your_database.accdb;');
app.get('/customers', async (req, res) => {
try {
const result = await connection.query('SELECT * FROM Customers');
res.json(result);
} catch (error) {
res.status(500).json({ error: error.message });
}
});
// ... other endpoints
app.listen(3000, () => console.log('Server listening on port 3000'));
Use code with caution.
Important Considerations:
Security: Make sure to implement proper security measures to protect your API and database from unauthorized access.
Error Handling: Include robust error handling in both your API and Android app to gracefully handle any issues that might arise
Testing: Thoroughly test your API and Android app to ensure everything works as expected
Remember:
This is a simplified overview. The actual implementation will involve more details and complexities.
Break down the process into smaller, manageable tasks.
Don't hesitate to seek help from online resources or communities.
Let me know if you have any specific questions or would like more elaboration on any of the steps
-
@@RaghavPal Thanks so much for your reply. At the time i wrote you, i was at the hospital with recently discovered kidney problem. I had to give up my phone, I could not check on this post again. Well, I am much better and on a road to recovery and a few minutes ago I just read your full response. The pointer are superb and indeed will lead me in a new direction , that I had not considered (node.js).
Thanks for your kindness and orientation.
Humberto
You're welcome Humberto ..Glad to hear you're on the road to recovery .. I'm thrilled that my response was helpful and opened up a new direction for you
Take care of yourself and feel better soon
-
@@RaghavPal Thanks again for being able to share your knowledge
Great video. What program did you use to make this video?
used mac tools
@@RaghavPal thank you. E.g. Quicktime?
Yes
Sir, please upload rest assured API testing video
Mohamed
Can check it here - automationstepbystep.com/
@@RaghavPal OK
Hi Raghav
Thanks for this video, it's really helped me.
Kindly help with videos to generate Postman report using Newman
Haven't been having some difficult recently with the Newman report
I will add in next lecture
Thank you so much Sir, I have recently completed your Postman playlist of 2022, Do I need to see this video again?
Yash
If you have completed entire 2022 playlist with hands-on, you can just watch the initial parts on GUI n features where we have some changes in new version.. Rest will be good 👍🏻
Hi Raghav sir, can you please make a video of xpath parameters of API
Sure Ramya, have you checked XPath related videos on the channel - automationstepbystep.com/
th-cam.com/play/PLhW3qG5bs-L9DloLUPwC3GdFimY5Ce_gS.html
Hi sir In Runs in my system the performance option is not available , can you please help me out in that.
Sid
You will need Postman Desktop app for that.. it's shown in the video
After using POST Method for creating / adding new data, then I ran GET request but I didn't find newly added test data, it says 404 Not found. Weirdly when tried to update using PUT ,it worked. Why is it it not displaying using GET request?
In case you are using the demo apis like reqres.in, the data does not get created on the server when you run Post, so you may not get that data when you run GET.
In case you are using some other REAL APIs
Here’s why the GET request is not showing the new data and how to fix it:
### Possible Reasons:
1. Data Not Persisted:
The POST method might not be saving the data to the server/database.
2. Wrong Endpoint for GET:
The GET request might be pointing to an incorrect URL or resource.
3. Caching Issue:
The server might not be refreshing the data immediately.
4. Different Environments:
POST and GET might be hitting different servers or environments.
5. POST Response Not Correct:
The POST request may succeed but not actually create the resource.
---
@@RaghavPal Thank You Raghav. One other question: If data is not getting created on server then how are we able to update the new data?
I believe you are talking about ReqRes.in APIs. these are dummy APIs for testing and they have static response
@Raghav
Can you please make updates on some other tools too... Thanks 🙏🏾
Sure.. let me know what you are looking for
@raghav can you please upload latest videos on rest assured. Much needed
I will plan on this Andy
When i am implementing post and patch request in body raw it throwing bad gateway error when i tried in form data it creating successfully
Siddardha
Here’s a quick fix for your issue:
1. Check Content-Type Header
- For `Body > Raw`, set the Content-Type header to `application/json`.
- For `Form-Data`, Postman automatically sets the correct headers.
2. Validate JSON Format
- Ensure your JSON in `Body > Raw` is properly formatted and valid.
3. Check API Documentation
- Confirm if the API specifically requires `form-data` instead of `raw`.
4. Test with Form-Data
- If it works with `form-data`, stick with it unless the API mandates `raw`.
Let me know if the issue persists
Hi Raghav,
I'm expecting a Rest Assured tutorial similar to this Postman tutorial.
Will upload soon Rohit
IN performance testing how it is only 5 or 7 users and despite those 300 requests sent?
Hadeer
Please give me the timestamp to check
Sir is this course about postman tool or API testing.. ?
It's on API Testing with Postman
Make a video about Swagger
I will plan
Hi Raghav.... I cant login into my postman account since i have forgot my password ..if i try with forgot password option ..i couldn't find any pwd reset link in my mail box...could you plse help me with a solution
Check Spam/Junk Mail: Look for the reset link in the spam/junk folder of your email.
Resend Reset Link: Try using the "Forgot Password" option again and ensure the email address is correct.
Contact Support: Reach out to Postman support via their Help Center for assistance.
Alternative Login: If you've previously linked a Google or GitHub account, try signing in using those credentials.
If I am getting 2OO OK response in delete method , is that ok?
yes, it must be how api is designed by dev
when i set collection varaiable it does not automatically fetch the value/name in collection as shown in yours, why is this so please guide
Did you save after adding the variable. please check and try again
hlo i have a doubt i import some file but getting only 401 error
will need to check details and logs Keerthi
How to delete the environment
Indu
1. Open Postman.
2. Go to the **Environments** tab (top-right gear icon).
3. Find the environment you want to delete.
4. Click the trash/bin icon next to it.
5. Confirm deletion. Done! ✅
-
How to contact you sir
Can let me know your queries here Shiva
@RaghavPal Required training/classes on Mobile Testing with Browserstack.
Can you please provide contact
Shiva
not taking live trainings now..
@@RaghavPal any Videos/ Tutorial available on mobile Testing Browsestack
can check all here automationstepbystep.com/