4.1 out of 5
279 reviews on Udemy

RESTful API Testing with Postman

Getting started with Postman and Newman for Software Developers, Testers and DevOps
Zakaria Chowdhury
1,918 students enrolled
English [Auto-generated]
Test RESTful APIs with Postman
Test Postman collections from command line using Newman

Postman is a great tool for testing APIs, which helps building APIs faster. If you are new to Postman, this course will help you to get started with the software and test your APIs in no time.

I have divided this course into several sections. I will start by showing the overview of Postman. Then I will discuss about sending API requests & responses. I will show how to manage APIs into collections and share with anyone. Then I will cover variables, environments & how to write test scripts. Also I will show you how to automate your testing with combination of all these tools & collection runner. Final topic will be showing you a complete testing workflow with Twitter API.


Postman Overview

In this lecture I will introduce you to the Postman software interface.

API Testing with Postman

Sending API Requests

In this lecture I will discuss 4 main parts of sending API request. These are:

  • URL
  • Headers
  • Method
  • Body
Understanding API responses

In this lecture you will learn about response part of the Postman. After end of this lecture you will be able to save responses, so that next time you can view them later without sending a new request.

Manage APIs with Collections

Collections in Postman app is a great way to manage API requests into groups. Here you can organize them, you can share APIs to anyone, you can create documentation, or make it public if you have Postman Pro account.

Variables and Environments

In postman you can create different environment for different setup. Updating values on environments are done using variables. In this lecture you will also learn about global variables.

Environment and Global Variables
Writing Test Scripts

Postman includes a testing sandbox to execute javascript, before or after sending a request. There are two sections where you can write scripts, Pre-request script & Tests. In this lecture you will learn how to write a test script and validate your request.

Test Scripts
Collection Runner

Collection Runner is a completely separate sandbox, where you can select a collection and Postman will send all the requests inside the collection one by one. Here you can iterate the whole collection for thousands of time with a single button click.

Testing Workflow with Twitter API


In this lecture we will check how authorization works in Postman app. To demonstrate it, we will create a twitter app and will use postman to authenticate and authorize twitter. Then we will check tweets from my twitter account, post a new tweet and finally we will delete that tweet all using Postman.

Testing Automation

In this lecture we will see how to automate posting a new tweet and delete it using collection Runner. Here we will combine all the steps we have learned from previous lectures and will see a complete testing workflow.

Run collection with Newman

Newman: Installation and Overview
Newman: Iterations & Delay Requests
Newman: Running a folder from a collection
Newman: Passing environment and global variables with command
Newman: Export reports and exit after first failed iteration
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.1 out of 5
279 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


1 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion