From the course: API Testing Foundations
Unlock the full course today
Join today to access over 24,000 courses taught by industry experts.
Testing DELETE calls - Postman Tutorial
From the course: API Testing Foundations
Testing DELETE calls
- [Narrator] Delete calls are pretty self-explanatory. They allow you to delete existing resources from the server. As you can imagine, there are many things you want to carefully test when it comes to deleting things. You don't want to delete the wrong things. We want to make sure that we have all the right checks in place to prevent things from being deleted that should not be. This can take the form of authentication and authorization. In other words, making sure you can't delete other users' content for example. Or making sure that only users with certain permission levels can delete things. It can also take the form of data types. Perhaps only certain things on your server can be deleted. You may have shared resources that you don't want to allow people to delete or you might not allow deleting of an object until its child objects have been removed. Alright, let's take a look at some examples. For this first example…
Contents
-
-
-
-
-
-
(Locked)
Testing GET calls3m 42s
-
(Locked)
Testing PUT calls3m 25s
-
(Locked)
Testing DELETE calls2m 46s
-
(Locked)
Challenge: Break the API1m 43s
-
(Locked)
Solution: Break the API2m 31s
-
(Locked)
Understanding POST calls3m 55s
-
(Locked)
Testing POST calls4m 27s
-
(Locked)
Challenge: Access protected endpoints1m 32s
-
(Locked)
Solution: Access protected endpoints2m 36s
-
(Locked)
-
-