4.1 out of 5
4.1
279 reviews on Udemy

RESTful API Testing with Postman

Getting started with Postman and Newman for Software Developers, Testers and DevOps
Instructor:
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.

Introduction

1
Welcome
2
Postman Overview

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

API Testing with Postman

1
Sending API Requests

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

  • URL
  • Headers
  • Method
  • Body
2
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.

3
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.

4
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.

5
Environment and Global Variables
6
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.

7
Test Scripts
8
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

1
Authorization

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.

2
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

1
Newman: Installation and Overview
2
Newman: Iterations & Delay Requests
3
Newman: Running a folder from a collection
4
Newman: Passing environment and global variables with command
5
Newman: Export reports and exit after first failed iteration
6
Newman
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
4.1 out of 5
279 Ratings

Detailed Rating

Stars 5
104
Stars 4
97
Stars 3
42
Stars 2
18
Stars 1
18
d57bc1e23108a89bac8f3f97aa1a3656
30-Day Money-Back Guarantee

Includes

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