Dave Westerveld helps you understand of some the basic approaches and methodologies used in testing PUT requests.
- [Narrator] Testing PUT calls is similar…in a lot of ways to testing a POST call.…The difference is that a PUT call is meant to edit…an existing object rather than create a new one.…So for example things like what kinds of data…you might try to send or how you would…authenticate the calls might be the same…between PUT and POST.…But there are a few things we should consider…that are specific to doing PUT calls.…One of the most important things…is looking at which fields we allow to change.…Most databases have an ID field…that is used as a reference point for building…all queries and so we often don't want to…be able to change that once its been created.…
So if we take a look here at our sample…application and try to do a PUT call…on blog post one, so this is the blog post…that has ID one, and we'll do a PUT call on it…but we'll try to change the ID,…so let's say I want to change the ID…to five, let's see if it will let us do that.…So we send that, it says it's okay…so it let us do it in a way, but we can see that…
- Reviewing API terminology
- Mitigating risks related to testing APIs
- Mapping out the layout of an API
- API authorization and authentication
- Finding and using bearer tokens
- Testing GET, POST, PUT, and DELETE calls
- Using mocks, stubs, and fakes in API testing
- Testing microservices and the Internet of Things
Skill Level Intermediate
1. Understanding Web Services and APIs
2. Getting Started with API Testing
3. API Authorization
Using OAuth tokens3m 28s
4. Hands-on API Testing
5. Additional API Testing Considerations
Next steps3m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.