RESTful APIs 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 is a general introduction to Postman. We will work with two type of HTTP requests: GET and POST. After we get the requests working (including authorisation), we will write a few tests and run them with Newman.
Let's just recap what you have learned in this lecture.
In this lecture we look at all the aspects involved when creating a request with Postman. We will cover different HTTP methods, how to manage complex URL parameters and path variables, different headers and body types.
Let's have a closer look at responses in this lecture.
This lecture discusses how to deal with cookies in Postman.
So the API you are calling is not working? Don’t panic and keep calm because in this lecture I will show you a couple of tips on how to troubleshoot the most common problems in Postman.
Saving requests ensures that you can later run the again or share them. In this lecture we deal with exactly that.
In this section your are going to start writing tests but at the same time explore more features of Postman such as variables and environments for adding a dynamic behaviour to your requests, workflows and scripts for more advanced scenarios.
Let's write a simple test together and understand how everything works.
In this and the following lectures, you will be testing a real-world API and at the same time discover more and more feature of Postman.
We will take trello.com’s API (which is an online tool for managing lists and tasks) and create and test a few requests.
Variables allow you can create more dynamic requests.
Postman allows you to save repetitive information in a variable (which is very similar to what a variable is in any programming language). The main motivation for using variables would be to not repeat yourself.
This lectures explain what are global variables and what is their scope.
This lecture discusses environment variables, which are defined inside environments, are quite similar to global variables but they have a more narrower scope, which means they are more specialised.
This lecture deals with pre-request scripts, which are similar to test scripts except as the name implies, pre-request scripts give you a chance to modify the request but before the actual HTTP request is made.
This lectures deals with debugging tests and scripts using the Postman Console.
Sometimes it is needed to test headers and cookies as well. This lecture deals with that.
This lecture introduces Newman, a very important tool for running Postman tests.
With the help of Newman, Jenkins will execute the tests on a recurrent basis.
Enterprise software developer with a strong background in computer science.
I am a former member of the Joomla! CMS Bug Squad, Joomla! Stack Exchange moderator and current member in the TYPO3 CMS Security Team. As you can guess, I am dedicated software developer and open source lover.
I decided to join Udemy because of my desire to share my know-how in specific areas.