Enroll in Selenium Training

Postman Navigation

Now that we have installed Postman on our system, we will navigate through the UI of Postman in this Chapter. We will become familiar with the terminologies and features that Postman offers.

Postman navigation can be divided into four UI structures as shown below.

Postman Navigation

  1. Sidebar section
  • History
  • Collections
  1. Header section
  • New
  • Import
  • Interceptor
  • Sync
  1. Builder section : These items will help use create a new Request. We will learn about these items in details in the coming chapters
  • Tabs
  • HTTP Method type
  • URL bar
  • Header's list
  1. Response section : It is filled only when to invoke a REST request. This section will be populated with the details of received Response. We will learn more about it in coming chapters. Now let us see individual sections in details.

PostMan - Left Sidebar Section

Sidebar is a very important part of the Postman. Sidebar has two main parts or tabs which are History and Collections.

History Tab

Postman records history of your API request just like any other web browser automatically. As soon as you invoke a REST request, it is saved in the history and can be seen below the History Tab. It comes handy when you have to search for some particular request that you entered in the past without entering again.

History

Collections

The concept of grouping requests is called Collections and each Collection is displayed under the Collection Tab. As shown in the image below. A collection in Postman can be imagined similar to a folder in your system. You create a folder, for example movies, and keep movies in it so that you know where all your movies are. Similarly in Postman we save the similar kind of requests under some collection name (that we define) and when we open any collection we get all the Requests under that heading, As shown in the below image

Collections

Postman - Header Section

Below image shows just the Header of Postman application.

header

Header has following items

New

Choosing this option will let you choose what "new" you want to start. For example, a collection would open the panel where you can enter a new collection to start and its corresponding requests. Selecting "request" in New will open the request panel where you can enter and save the requests in to the collection of your choice. New option lets you create the following:

  • Request
  • Collection
  • Environment
  • Documentation
  • Mock Server
  • Monitor

Import

Import option lets you import files of different format. Importing means choosing the files located in your system or through a link and running it through Postman. As can be seen from the image it allows you to import a Postman Collection, Environment, Curl command etc. Importing a collection is the most common among all.

import panel

Interceptor

Recall we learnt that if you are installing the application from chrome then a separate interceptor is required for the proxy server. This interceptor is inbuilt in the native app. You can set proxy server here to capture all the API request that you send through your browser. A proxy server can be used to capture all the requests that you send through your browser or from your phone or any other system.

interceptor

Sync

Sync option is for synchronizing the API requests that you have sent on any machine to the Postman cloud. When you are working in Postman and making changes or sending requests, if you Sync is on, it will automatically be saved in your Postman's cloud storage. This way you can have them saved and whenever you sign in on different machine to use Postman, they will automatically appear. This feature require you to sign in  (If you did not during the installation part).

Sync

Postman - Builder Section

A builder part of the Postman is basically what a cpu is to a computer. It is the main part that controls all the functionalities and methods to be incorporated inside the API.

Builder

A builder part has the following main parts:

  • Request Type:
  • Endpoint Address Bar:
  • Params: This option let the user define different Query Parameters for the request.

Request Type

This is the request type method for the API. It indicates the type of HTTP Request that has been sent. There are different kinds of requests which we will discuss as we proceeds further, but just to know, there are four main types of requests namely GET, POST. PUT and DELETE.

Endpoint Address Bar

This is the box, beside request type option, to enter the EndPoint (API). It acts just like a browser with the similar interface for New tab. We enter our required endpoint into the bar which is our main URL.

Params

Params is the parameter option which allows us to write the parameters of the URL. The parameters are embedded into a URL and are very important to get the desired result. They also help us in getting efficient usage of the memory and bandwidth. This will be discussed in a complete chapter later on.

Authorization

The authorization process verifies whether you have permission to access the data you want from the server. Not all data is available for everyone inside a company, so there lies the solution as Authorization. With the authorization, server first checks whether the data you are asking can be shown to you. If it can be, you get the desired response.

Header

A header in the HTTP request or response is the additional information that is needed to be conveyed between the client-server. HTTP headers are mainly intended for the communication between the server and client in both directions.

Postman - Response Section

A response box is the box which shows the response from the server that we receive after requesting through API. A response box has many option in it, which won't be feasible to explain it here in this chapter. In the coming chapters you will learn about the response, although if you want you can visit the chapter here.

Response_Box

In the next chapter we will start our first steps in Postman.

Download Postman and Install On Windows and MacOS
Download Postman and Install On Windows and MacOS
Previous Article
Create New Request in Postman
Create New Request in Postman
Next Article

Similar Articles