Postman: The Complete Guide - REST API Testing
- 13.5 hours on-demand video
- 20 articles
- 17 downloadable resources
- 2 coding exercises
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Create GET, POST, PUT, DELETE request
- Understand GET vs POST request method
- Work with real-world APIs (Github API, Trello API)
- Write API tests in Postman
- Use data from Excel files (CSV) or JSON
- Use Postman variables to create workflows and scenarios
- Run API tests with Newman in Jenkins, GitLab CI or TeamCity
- Use OAuth2, API keys, tokens, JWT, basic auth
- Test file uploads
- Use mock servers
- Collaborate using Team Workspaces
In this lecture, I wanted to give you an overview of the entire course.
Let's write a simple test together and understand how everything works.
Postman 6.2 introduces a new feature called sessions, which allows you and your team to work more effectively through the addition of session-specific collection, environment, and global variables also called session variables.
In this video, I will show you how to configure and use session variables.
This section gives you the opportunity to practice the skills you have learned so far. It uses real-world APIs to help you gain even more practical experience.
In this section lecture we will use the Github API to create a simple workflow.
We will create a new git repository, post an issue with some content, comment on that issue and so on. We will introduce 2FA authentication in the game and work with the Twilio API to receive a text message (SMS).
So if you have the time, this will be a fun project to work on.
In this short lecture I wanted to give you an overview of what you will learn in this entire section.
What we want to achieve is to run the entire collection (one request after another) and to get an overview of successful or failed tests. There are multiple ways to automate things and next I will give you an overview.
- Basic HTTP knowledge required (address, message body, headers, cookies, ...)
- Basic knowledge about RESTful APIs and JSON
- Basic Jenkins experience, if an integration with Jenkins is desired
- Basic NodeJS/NPM experience (needed for test automation)
- Optional - Basic Docker experience (for Jenkins or Newman)
- A computer with Windows, macOS or Linux is required for viewing the lectures and installing Postman. Using a mobile phone is not recommended.
RESTful APIs (or simply REST API) are everywhere nowadays but at the same time they are getting more complex to get started with: different HTTP methods,, headers, cookies, dealing with file uploads or authentication with api keys, tokens, OAuth and so much more.
But before you start investing time writing code to retrieve the data the API is offering, why not test the request first to make sure everything is working as expected?
This is where the Postman App comes in! Postman allows you very quickly create a request with the required HTTP method and parameters, submit the request and easily inspect the results.
Postman can help if you are developing APIs as well! I have created this course for testing engineers and well as for software developers. Postman can help you during the development of your API as well as after the API is completed, by running tests that make sure your API is still working as intended.
In the first part of the course we will start exploring the features of Postman and continue by writing API tests with the intention of integrating them in a CI server where the tests will run on a current basis.
But this is not the normal course you take part in. Because your needs may be different and because I hate leaving you wondering what to do next, the second part of the course will include user questions and answers to problems that were not yet covered in the course or that are more specific and may not interest everybody.
So let’s look at what you are going to learn:
Start with simple requests and advance towards more complex scenarios
Learn to deal with authentication / authorization mechanisms like Basic Auth, API Keys, or OAuth.
Start writing API tests
Organize tests in collections and share them with your team
Run API tests in Jenkins or any other CI server
You ask, I answer
So after this course you will know how to use Postman as a pro.
Excited to learn Postman? Sign-up up today!
- This course is targeted towards testing engineers and developers.