How to Install Postman in Windows 10 – Ganvwale

Earlier than going forward to obtain the Postman, first, let me clarify about Postman.

What’s Postman?

Postman is an API testing device to carry out API testing to do purposeful testing in addition to you should utilize postman to create the API.

Right here we discuss concerning the primary set up and a brief overview to get began with API testing utilizing Postman instruments. 

Observe: Postman makes use of the RESTFUL technique to carry out API testing or make a request to the server. Or You’ll be able to say it’s utilizing the HTTP technique to make a response on the server.

Now, Let’s get began with downloading and putting in the Postman to your Home windows 10 System with 64 Bit OS.

Steps to obtain and Set up the Postman in Home windows 10

Prerequisite: Good connection of web and min 4 GB Ram.

Step 1: Go to the Postman workplace web site whereas clicking and go to the obtain web page. Or you may click on right here to go to the official web site. For reference please examine the beneath picture.

Step 2: Now Click on on the Button Home windows 64-bit. And wait until the obtain is accomplished.

Step 3: As soon as the obtain is accomplished, then open the set up Exe file for the postman.

Step 4: Doble click on on the set up setup and wait until the registration web page will open.

Step 5: Now register along with your e mail or you may go forward along with your Gmail to signup.

postman signup

Step 6: Enter your particulars like Identify, Your Roles, and Plan to make use of.

enter the details

Observe: I’d counsel deciding on all choices below How do you propose to make use of Postman.

Step 7: Now give your staff a reputation display will come. You’ll be able to click on on Perhaps Later and go forward.

give your team name in postman

Observe: We’re putting in for private use first in a while on this content material, I’ll clarify share your mission and add your teammates to your current API workspace.

Step 8: Now It’s going to ask to Invite your folks and Groups. As of now you simply click on on Perhaps Later and go forward.

Observe: At this level, I’ll clarify in a while collaborate with groups and different folks to work collectively on the identical API testing.

Step 9: Now, please examine your e mail as soon as, When you received an e mail verification hyperlink then click on on Confirm. 

Step 10: As soon as verification is completed the browser itself offers you the pop-up to open the Postman device in your system. Simply click on on open Postman.

Now, you’re all accomplished and able to carry out API testing. 

As soon as it did the display will appear to be the beneath picture. It’d differ primarily based on the up to date model.

postman working screen

Now let’s begin with our first API testing. To start out that simply click on on Workspace Menu after which click on on Create workspace.

create new workspace menu

When you click on on Create Workspace then one dialog field will come to create a workspace.  Verify the beneath picture to your reference.

createnew workspace

Create A Assortment

Now, Enter your Workspace Identify and choose your visibility. As of now, you may choose Private for this mission. When you enter the small print then click on on Create Workspace and it’ll land to that workspace.

working workspace details

Right here, It is possible for you to to see the next menu on the left facet. Collectin, APIs, Environments, Mock Servers, Displays, Flows, and Historical past.

Now, Simply click on on Assortment, And you will note the + icon simply adjoining to Assortment, Simply click on on that + icon and it’ll add one assortment. Now give the gathering identify at your comfort and save (ctl+s). For reference examine the beneath screenshot.

collection details

Now, Simply Click on on the Add a Request, And it’ll create a brand new request with HTTP strategies. There are a number of strategies accessible on  Postman. However Right here, I’ll largely cowl CRUD operation strategies.

Observe: CRUD means: Create, Learn, Replace, and Delete. 

For the CRUD operation, I’m going to make use of the next HTTP strategies.

  • GET: To learn the information we use the GET technique.
  • POST: To create we use the POST technique.
  • PUT/PATCH: With the intention to replace current knowledge we use PUT and PATCH.
  • DELETE: To delete knowledge from the server we use the DELETE technique.

POSTMAN GET Technique:

Now First we’re going with GET technique. Why GET technique first? As a result of to check API is working or now.

Observe: Please go forward with the API documentation first to know the product/app to carry out one of the best API testing.

Right here I’m utilizing an opensource guide API that’s listed on the postman itself. So please undergo this as soon as with this API documentation first at A Easy Guide API.

Simply click on on Add a request and provides the identify like API Standing check and many others. For reference please examine the beneath picture.

Get Method details

As per the above display, you will note that, I’m making a GET request by postman on this Opensource API. And I get the response Physique. Right here the purpose that should think about or confirm is the Standing code. If you’ll get the Standing code 200 OK then this API is working else not. In keeping with the response, you’ll analyze what error is coming. To examine extra particulars about Standing code particulars please Standing Code Particulars Description.

Right here I’m utilizing this straightforward Guide API to carry out API testing. You’ll be able to select any open-source API to check these strategies. You probably have observed that there are many choices accessible. However in GET technique, we don’t require all these.

Level to note obligatory: Like Technique GET, URL/Response URL also called finish URL. The top URL is the supply the place we’re going to make a request from the webserver to get the response.

Second, It’s important to discover the response the physique and standing code standing on the response part.

Right here you’ll get the response within the type of JSON to take a look beneath:


    “message”: “Welcome to the Easy Books API.”


This can be a JSON kind, and it’s storing the worth within the type of (Key, Worth) pairs. E.g: within the above response physique the message is the important thing and the Welcome to the Easy Books API is the worth.

Within the response physique, You will notice the response. That response is coming within the format of JSON. JSON stands for JavaScript Object Notation.

Now, right here we’re checking manually the standing code after which verifying whether or not it’s handed or failed primarily based on the Standing code. It’s okay you probably have fewer requests, however guess if we now have a number of requests then how will we examine whether or not my check instances are getting handed or failed.

So, now I’m speaking concerning the Automation half that helps us to automate and examine the consequence automated. For that, you simply go to your Postman toon and go to the Exams part.

Postman Automation

As per above the picture you may clearly see the check part and Snippets. For automation, you probably have primary data of JavaScript then it is extremely good else it’s also good to go.

The way to Automate TestCase in Postman

First, go to Exams part. If you’re okay with JavaScript coding then you may write your personal JS script. You probably have don’t have JS data then simply go below the Snippets and scroll and discover this snippet “Standing code: Code is 200” and simply click on on that hyperlink. And the Code snippet will seem on the Exams scripts. For reference, you may examine the beneath snippets.

pm.check(“Standing code is 200”, perform () {;


Right here pm is postman object, check() is a perform is a technique to validate our check case primarily based on the response.

Now you simply click on on the SEND button and examine the response, And you’ll discover that there might be a bit add named with Take a look at. Simply click on on Exams and you will note the consequence. For reference please examine the beneath screenshot.

Postman Automation Result

You’ll be able to see if you will note the standing PASS. When you enter the unsuitable endURL path then you will note the standing FAIL.

status fail

This content material, I’ll hold updating. As of now, I clarify solely the GET technique right here. In a while, I’ll hold updating right here itself for different strategies. So keep in contact with this publish. And you probably have any queries then put them within the remark part.



Related Articles

Back to top button