Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:2Length:10 minutes

Next lesson playing in 5 seconds

Cancel

Free Preview: Testing REST APIs With Postman

Introduction

01:34
  • Overview
  • Transcript

Over the last several years, REST APIs have swept the web development community, from indie shops to large companies. While we're getting better at creating these APIs, they definitely come with their own set of challenges. One of these challenges is testing.

When creating REST APIs, it's important to make sure the data and functionality produced by the application are correct. On top of that, we also have to make sure we are following the HTTP protocol and returning the right status codes, headers, and a slew of other pieces of data. This puts a lot of pressure on testing, and doing it all manually is a time-consuming challenge. It's much better to use an automated tool. In this Coffee Break Course, Derek Jensen will show you how to use a great tool for just this task: Postman.

1.Testing REST APIs With Postman
2 lessons, 09:32

Free Lesson
1.1
Introduction
01:34

1.2
Testing REST APIs With Postman
07:58


1. Testing REST APIs With Postman

1.1 Introduction

[SOUND] Hey there tuts fans, Derek Jensen coming to you again with another coffee break. And today, we're talking about APIs but we're not talking about writing APIs, we're actually talking about testing them. Now, if you've been paying any sort of attention to the web development trends over the last several years. Then you've probably been hearing quite a bit about restful APIs. They're pretty much everywhere. So, if you've been doing any sort of web development, or have been doing any sort of testing of web development. Then odds are you've probably looked into either writing some APIs. And then maybe even having to test them. Well, I'm here to tell you that one of the most complicated things that you can run into. When dealing with these API is actually testing them. There's a lot of different things you have to pay attention to. You have to pay attention to status codes, error messages. Are you returning the proper text for certain things? Are you returning the proper values for certain fields? And this can be very cumbersome to test through your UI as well as through your API. So today, I'm gonna introduce you to a little friend of mine known as Postman. Postman is a fantastic tool that's going to allow you to not only issue these requests to your APIs and then validate the responses coming back. But it's also going to allow you to automate these things. And make them very visual and easy to see when things are succeeding. And when they're failing. So, over the next eight to ten minutes, I'm gonna show you how to use Postman to do all of these things. And to make your lives testing APIs just a little bit easier.