We may earn an affiliate commission when you visit our partners.
Course image
Raghav Pal

This course is created for complete beginners. 

Get started with POSTMAN step by step.

If you are a complete beginner on Postman, this course is for you. Very basic step by step videos to guide you from scratch. 

In this session we will learn

  • What is POSTMAN

  • How to download and install

  • Understand Postman GUI

  • Create Collections, Variables, Environments and Tests

  • Data Driven Testing

  • Run from command-line and Jenkins

Let's Get Started...

Enroll now

Here's a deal for you

We found an offer that may be relevant to this course.
Save money when you learn. All coupon codes, vouchers, and discounts are applied automatically unless otherwise noted.

What's inside

Learning objectives

  • By the end of this course you will have complete hands-on knowledge on working with postman
  • In-depth understanding of all features and settings of postman
  • You will be able to create end-to-end api testing projects with postman
  • Complete hands-on knowledge on how to run your tests from command-line and jenkins continuous integration
  • ******* you will get complete support with all your doubts, questions and issues *******

Syllabus

ABOUT INSTRUCTOR AND THE COURSE
Video message from Raghav
About Raghav and this course ***Must Watch***
Understand POSTMAN and its use
Read more

What is Postman

Postman is a platform for API

  • Development

  • Testing

  • Management

    Step 1 - Goto Postman website https://www.postman.com/ | Create Account
    Check Email and verify account

    Step 2 - Login to Postman

    Step 3 - Explore GUI and features


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

Postman Quiz 1 (Basics)
Learning different api methods and examples

In web services, POST requests are used to send data to the API server to create or update a resource. The data sent to the server is stored in the request body of the HTTP request

It's worth noting that a POST request is non-idempotent
It mutates data on the backend server (by creating or updating a resource), as opposed to a GET request which does not change any data

Similar to POST, PUT requests are used to send data to the API to update or create a resource

The difference is that PUT requests are idempotent. That is, calling the same PUT request multiple times will always produce the same result

In contrast, calling a POST request repeatedly make have side effects of creating the same resource multiple times

Generally, when a PUT request creates a resource the server will respond with a 201 (Created), and if the request modifies existing resource the server will return a 200 (OK) or 204 (No Content)


A PATCH request is one of the lesser-known HTTP methods
The difference with PATCH is that you only apply partial modifications to the resource

The difference between PATCH and PUT, is that a PATCH request is non-idempotent (like a POST request)

To expand on partial modification, say you're API has a /users/{{userid}} endpoint, and a user has a username

With a PATCH request, you may only need to send the updated username in the request body - as opposed to POST and PUT which require the full user entity

As the name applies, DELETE APIs delete the resources (identified by the Request-URI)

DELETE operations are idempotent. If you DELETE a resource, it’s removed from the collection of resources

Some may argue that it makes the DELETE method non-idempotent It’s a matter of discussion and personal opinion

Postman Quiz 2 (Http Methods)
Create and Run Collections

1. What is COLLECTION
2. How to create Collection
3. How to create folders inside collection
4. How to arrange requests inside collection

Collection is a group of API requests

Raghav Pal

Postman Quiz 3 (Collections)
All about variables

Can create variables at the following levels (scope)

  • Global

  • Collection

  • Environment

  • Data

  • Local

Priority

  1. Local

  2. Data

  3. Env

  4. Collection

  5. Global

Postman Quiz 4 (Variables)

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");

Postman Quiz 5 (Variables with Scripts)
How to create and manage environments in Postman

Environment is a set of key-value pairs

Step 1 - Create an 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

Postman Quiz 6 (Environments)
How to create and run test scripts

Postman contains a powerful runtime based on Node.js that allows you to add dynamic behavior to requests and collections

You can add JavaScript code to execute during 2 events in the flow:

  1. Before a request is sent to the server, as a pre-request script under the Pre-request Script tab.

  2. After a response is received, as a test script under the Tests tab.

Postman will prompt you with suggestions as you enter text. Select one to autocomplete your

code

You can add pre-request and test scripts to a collection, a folder, a request within a collection, or a request not saved to a collection

Postman Quiz 7 (Scripts)

Tests in Postman are JavaScript code that is executed after receiving response

Step 1 - Create a API request
Step 2 - Check the tests section under

Request
Collection
Folder


Step 3 - Create and run tests

Postman Quiz 8 (Tests)
How to use Postman Console for debugging

Debugging scripts can be written under either the Pre-request Script tab or the Tests tab, with helpful messages logged in the Postman Console

The Postman Console logs the following information:

● The primary request that was sent, including all underlying request headers, variable values, and redirects

● The proxy configuration and certificates used for the request

● Network information such as IP addresses, ciphers, and protocols used

● Log statements and asynchronous requests from test or pre-request scripts

● The raw response sent by the server before it's processed by Postman

How to refer test data from external csv, json files

Step 1 - Create an API request
Step 2 - Create variables and refer in the request
Step 3 - Goto Run Collection
Step 4 - Create a CSV file and add data - Refer this file in Run Collection Step 5 - Create a JSON file and add data - Refer this file in Run Collection Step 6 - Refer data in test scripts

tests["verify email"] = responseBody.has(data.email)

tests["verify email"] = responseBody.has(data["email"])

Example of adding authorization in Postman

Authorization = Verify the Identity
Step 1 - Create a API request
Step 2 - Goto Authorization tab
Step 3 - Add authorization as needed
Step 4 - Save & Run

more stories by Raghav - https://automationstepbystep.com/stories/

How to run from command-line and Jenkins

Today we will learn:

1. How to debug with Postman Console
2. How to open Postman Console window
3. Information shown on Postman Console window
4. Clear logs
5. console.log()
    console.info()
    console.warn()
    console.error()
6. App Debug Logs : Developer - DevTools

Pre-requisite - previous session - How to run from command line

Today we will learn:
1. How to setup Postman job in Jenkins
2. How to run Postman from Jenkins

How to create Workspaces, Monitors and API Documentation

Today we will learn:

1. What is a workspace
2. How to create and manage workspace
3. How to share collections in workspaces
4. How to remove a collection from workspace

Workspace is an area where you can group, organize and manage your collections

Workspaces are available from Postman 6.0 ver

Today we will learn:

1. What are MONITORS
2. How to create Monitors
3. How to send email notifications with results
4. How to edit/pause/stop Monitors

Monitors - help to run collections periodically to check the performance and response of api

Notes:
Each Postman user gets 1,000 monitoring calls for free per month. 
Each Postman Pro and Enterprise team gets 10,000 free monthly requests


Today we will learn:

1. What is API Documentation
2. How to create API Documentation
3. How to publish (private and public) Documentations
4. How to unpublish

What is API Documentation
a Postman feature that lets you share API documentation in a beautifully formatted web page. 

Useful TIPS
----------------
1. When you select an environment. The variables e.g. {‌{url}} will be replaced by their values from the selected env in documentation.

2. If you have any confidential data (passwords etc) remove them before publishing the documenation

How to run collection remotely

Today we will learn:

1. How to get Collection URL
2. How to run Collection remotely (from anywhere) using collection url

Step 1 : Get your collection url

Step 2 : Get Newman and run with command
            newman run "url"

How to run Soap Requests

Today we will learn:

1. How to add SOAP request in Postman
2. Run and Validate

Step 1 : Get Soap request url or WSDL url add to request url

Step 2 : Set method as POST

Step 3 : Set body as raw and set text/xml

Step 4 : Provide request data in body

Step 5 : Run and validate

Fetch value from response on one API request and refer in another API request
API Chaining | REST
How to create Mock API

In this lecture, we will learn:

  1. What is Mock API

  2. Why we need Mock APIs

  3. How to create Mock APIs in Postman

Videos recorded on Older Version of Postman

Today we will learn : What is Postman

API Client
develop, test, share, document APIs

Step 1: Open Postman webpage - https://www.getpostman.com/

Step 2: Create a free account

Step 3: Activate the account

Step 4: Download and install postman app


Today we will learn:

1. About POSTMAN UI
2. Different sections of the interface
3. Header, Sidebar, Builder


Today we will learn:

1. How to create an API request
2. How to run the request
3. How to analyze response


Today we will learn:

1. What is COLLECTION
2. How to create Collection
3. How to create folders inside collection
4. How to arrange requests inside collection

Today we will learn:
1. What are variables in POSTMAN
2. Why use variables
2. How to create variables
3. How to refer variables
Useful TIPS

WHAT
variables - elements(data store) that can take different values

WHY
to reuse values at multiple places
avoid repetition
to avoid re-work when value changes

Today we will learn:

1. How to get variables through scripts
2. How to set variables through scripts

pm.variables.get();
pm.variables.set();

pm.globals.get();
pm.globals.set();

pm.environment.get();
pm.environment.set();

Today we will learn:

1. What is Environment
2. How to create Environment
3. How to use Environment
4. How to delete Environment

Env is a set of key-value pairs

Reference - https://reqres.in/

Today we will learn:

1. How to create quick scripts using Snippets

Snippets = script templates

Today we will learn:

1. What are Tests in POSTMAN
2. How to create tests at REQUEST level
3. How to create tests at FOLDER level
4. How to create tests at COLLECTION level

Postman tests are javascript code that is executed after receiving the response
________________________________________________________________

Today we will learn:

1. How to get data from csv file
2. How to get data from json file
3. How to Run data-driven API Requests
4. How to Run data-driven Tests

Useful TIPS

Data variables can be used wherever environment variables can be used except in pre-request and test scripts

References :
https://reqres.in/
https://codebeautify.org/jsonviewer

Basics of Authorization

A simple example and demo

Note - if you provide authorization at collection or folder level, In the request authorization, Select - "Inherit auth from parent"

When you add Authorization, some headers get added in the request, You can check by going to Headers tab and view hidden Headers

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Introduces beginners to Postman's interface and core features, including sending API requests, understanding response codes, and creating collections
Provides step-by-step video tutorials to guide learners from the very beginning, making it accessible to those with no prior knowledge of Postman
Covers essential Postman functionalities such as creating collections, variables, environments, and tests, enabling learners to effectively manage and test their API requests
Emphasizes data-driven testing, allowing learners to parameterize their tests with data from external sources, ensuring thorough and reliable API testing
Provides hands-on guidance on running Postman tests from the command line and integrating with Jenkins for continuous integration, equipping learners with practical skills for automated testing
Offers comprehensive support, addressing learners' doubts, questions, and issues, ensuring they receive personalized assistance throughout their learning journey

Save this course

Save POSTMAN API Testing - Step by Step for Beginners to your list so you can find it easily later:
Save

Reviews summary

Disappointing postman tutorial

According to students, this course is a largely negative experience. Students specifically mention inadequate real-world examples, repetitive content, and a lack of substantial content. Students interested in learning how to use Postman for API testing may want to look elsewhere.
Students found the content to be repetitive.
Students mentioned a lack of substantial content.
Students found a lack of real-world examples.
"But not any real example or examples that how to api testing in postman"

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in POSTMAN API Testing - Step by Step for Beginners with these activities:
Review Postman's documentation
Review Postman's documentation to refresh your knowledge of the platform's features and capabilities.
Browse courses on Postman
Show steps
  • Visit the Postman Learning Center website
  • Explore the Postman blog for recent updates and tutorials
Follow a tutorial on using Postman for API testing
Follow a tutorial to gain hands-on experience with Postman and its features for API testing.
Browse courses on Postman
Show steps
  • Find a reputable tutorial on API testing with Postman
  • Set up a workspace and import the sample APIs provided in the tutorial
  • Follow the steps in the tutorial to create and run API tests
Practice sending API requests and examining responses
Practice sending API requests and examining responses to reinforce your understanding of API behavior and HTTP protocols.
Browse courses on Postman
Show steps
  • Set up a collection of API requests for different endpoints and methods
  • Send requests and analyze the responses, paying attention to status codes, headers, and body content
  • Experiment with different request parameters and headers to observe their impact on the responses
Four other activities
Expand to see all activities and additional details
Show all seven activities
Create a Postman collection for a personal project
Create a Postman collection for a personal project to apply your knowledge and gain experience in designing and organizing API requests.
Browse courses on Postman
Show steps
  • Choose a personal project that involves interacting with an API
  • Design and implement a Postman collection with requests for the project's API endpoints
  • Test the collection and refine it based on the results
Help other students in the course by answering questions on the discussion forum
Help other students in the course by answering questions on the discussion forum to reinforce your understanding and contribute to the learning community.
Browse courses on Postman
Show steps
  • Regularly visit the course discussion forum
  • Identify questions that you can provide helpful answers to
  • Post clear and concise responses, providing examples and explanations when necessary
Connect with experienced Postman users for guidance and support
Connect with experienced Postman users to receive guidance and support, helping you navigate the course and advance your skills.
Browse courses on Postman
Show steps
  • Identify experienced Postman users through online communities and forums
  • Reach out to them via email or LinkedIn, expressing your interest in mentorship
  • Set up regular meetings or communication channels to receive guidance and support
Contribute to the Postman open-source project
Contribute to the Postman open-source project to gain hands-on experience with the platform's codebase and contribute to its development.
Browse courses on Postman
Show steps
  • Familiarize yourself with the Postman open-source repository and its contribution guidelines
  • Identify an area where you can contribute, such as bug fixes, feature enhancements, or documentation improvements
  • Create a pull request with your proposed changes and submit it for review

Career center

Learners who complete POSTMAN API Testing - Step by Step for Beginners will develop knowledge and skills that may be useful to these careers:
Quality Assurance (QA) Analyst
Quality Assurance Analysts are responsible for ensuring the quality of software products. They work closely with development teams to identify and fix bugs, and to ensure that software meets the requirements of the business and its users. Responsibilities include testing software, reporting and tracking bugs, and working with developers to fix bugs. A strong understanding of software testing principles and methodologies is essential, as well as experience with testing tools and frameworks, such as Postman. This course may be useful in helping build a foundation for entry-level candidates.
Software Development Engineer in Test (SDET)
Software Development Engineers in Test (SDETs) are responsible for designing, developing, and executing test plans for software products. They work closely with development teams to ensure that software meets the requirements of the business and its users. Responsibilities include writing test cases, developing test automation frameworks, and executing tests. A strong understanding of software development principles and testing methodologies is essential, as well as experience with testing tools and frameworks, such as Postman. This course may be useful in helping build a foundation for entry-level candidates.
API Developer
API Developers are responsible for designing, developing and maintaining APIs. They work closely with product managers, designers, and other engineers to ensure that APIs meet the needs of the business and its users. Responsibilities include gathering requirements, designing and developing APIs, testing and debugging APIs, and documenting and maintaining APIs. A strong understanding of API design principles and best practices is essential, such as RESTful APIs, SOAP, and GraphQL. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Software Tester
Software Testers are responsible for testing software products to ensure that they meet the requirements of the business and its users. They work closely with development teams to identify and fix bugs. Responsibilities include writing test cases, executing tests, and reporting and tracking bugs. A strong understanding of software testing principles and methodologies is essential. Experience with testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
API Test Engineer
An API Test Engineer is primarily responsible for the quality control of Application Programming Interfaces(APIs). Some of their main duties include the design, development, and execution of test plans for API testing, analysis of test results and reporting of defects or bugs to the development team, and participation in the design and implementation of test automation frameworks. Successful candidates will have a solid foundation in principles of software development, testing methodologies, and programming. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Mobile Developer
Mobile Developers are responsible for designing, developing, and maintaining mobile applications. They work closely with product managers, designers, and other engineers to ensure that mobile applications meet the needs of the business and its users. Responsibilities include writing code, testing mobile applications, and debugging mobile applications. A strong understanding of mobile development principles and technologies is essential, such as Java, Kotlin, Swift, and testing frameworks. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Web Developer
Web Developers are responsible for designing, developing, and maintaining websites. They work closely with product managers, designers, and other engineers to ensure that websites meet the needs of the business and its users. Responsibilities include writing code, testing websites, and debugging websites. A strong understanding of web development principles and technologies is essential, such as HTML, CSS, JavaScript, and testing frameworks. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Data Analyst
Data Analysts are responsible for collecting, cleaning, and analyzing data. They work closely with business stakeholders to identify trends and insights that can help the business make better decisions. Responsibilities include gathering data, cleaning data, analyzing data, and presenting results. A strong understanding of data analysis principles and techniques is essential, such as statistics, machine learning, and data visualization. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Business Analyst
Business Analysts are responsible for analyzing business processes and identifying opportunities for improvement. They work closely with business stakeholders to understand their needs and to develop solutions that meet those needs. Responsibilities include gathering requirements, analyzing data, and developing solutions. A strong understanding of business analysis principles and techniques is essential, such as process mapping, data analysis, and requirements gathering. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Project Manager
Project Managers are responsible for planning, executing, and closing projects. They work closely with stakeholders to define project scope, develop project plans, and track project progress. Responsibilities include planning projects, executing projects, and closing projects. A strong understanding of project management principles and methodologies is essential. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Product Manager
Product Managers are responsible for defining, developing, and launching products. They work closely with stakeholders to understand their needs and to develop products that meet those needs. Responsibilities include defining products, developing products, and launching products. A strong understanding of product management principles and methodologies is essential. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Technical Writer
Technical Writers are responsible for creating and maintaining technical documentation. They work closely with engineers, developers, and other technical staff to gather information and to write documentation that is clear, concise, and accurate. Responsibilities include gathering information, writing documentation, and maintaining documentation. A strong understanding of technical writing principles and techniques is essential. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Technical Support Specialist
Technical Support Specialists are responsible for providing technical support to customers. They work closely with customers to identify and resolve technical issues. Responsibilities include answering customer questions, resolving technical issues, and documenting solutions. A strong understanding of technical support principles and methodologies is essential. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
IT Consultant
IT Consultants are responsible for providing consulting services to businesses. They work closely with businesses to identify and solve IT problems. Responsibilities include gathering requirements, analyzing data, and developing solutions. A strong understanding of IT consulting principles and methodologies is essential. Experience with API testing tools and frameworks, such as Postman, is a plus. This course may be useful in helping build a foundation for entry-level candidates.
Software Engineer
Software Engineers are responsible for designing, developing, and maintaining software systems. They work closely with product managers, designers, and other engineers to ensure that software systems meet the needs of the business and its users. Responsibilities include writing code, testing software, and debugging software. A strong understanding of software development principles and methodologies is essential, as well as experience with testing tools and frameworks, such as Postman. This course may be useful in helping build a foundation for entry-level candidates.

Reading list

We've selected ten books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in POSTMAN API Testing - Step by Step for Beginners.
Provides a comprehensive overview of thinking in Java. It covers all aspects of thinking in Java, from planning and design to execution and reporting. It valuable resource for anyone who wants to learn more about thinking in Java.
Provides a comprehensive overview of effective Java. It covers all aspects of effective Java, from planning and design to execution and reporting. It valuable resource for anyone who wants to learn more about effective Java.
Classic in the field of software testing. It covers all aspects of software testing, from planning and design to execution and reporting. It valuable resource for anyone who wants to learn more about software testing.
Provides a comprehensive overview of clean code. It covers all aspects of clean code, from planning and design to execution and reporting. It valuable resource for anyone who wants to learn more about clean code.
Comprehensive reference for Java. It covers all aspects of Java, from the basics to the most advanced topics. It valuable resource for anyone who wants to learn more about Java.
Provides a practical guide to agile testing. It covers all aspects of agile testing, from planning and design to execution and reporting. It valuable resource for anyone who wants to learn more about agile testing.
Great introduction to Java. It covers all the basics of Java, as well as more advanced topics such as object-oriented programming and data structures. It valuable resource for anyone who wants to learn more about Java.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to POSTMAN API Testing - Step by Step for Beginners.
Selenium Python - Step by Step for Beginners with...
Most relevant
Create a Website from Scratch using HTML CSS step by step
Most relevant
RESTful API Testing with Postman
Most relevant
Arduino Step by Step: Getting Started
Selenium WebDriver + Java. Complete step by step course.
Step-by-step HTML and CSS for Absolute Beginners
The Commercial Real Estate Lease Modeling Master Class
Start Your API Testing Journey With Postman Tool
Postman: The Complete Guide - REST API Testing
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser