In this video, Dave Westerveld gives you an understanding of some the basic approaches and methodologies used in testing GET requests.
- [Instructor] I want to get into some…specific strategies for API testing.…So let's start with get requests.…It seems like this would be pretty easy to test, right?…You just send a request to the server…and check that you get back what you asked for.…But right there, it's one of the challenges already,…how do you know what you should get back?…What if you get back something unexpected?…Did you send the request in the wrong format?…Or did the service or API do something wrong?…Well, there are a number of heuristics that we can use…when exploring something through an API.…For example, let's take another look at the Star Wars API.…
As we can see here we've got Luke Skywalker's results up…and his home world is planets/1.…So let's put that URL in and see what we get.…Planets/1, and we'll request that.…So, here in the result for this we get back…a bunch of information and some of that information…includes the residents of that planet.…And you can see here that the first resident…is people/1, and if you remember that was the URL…
Author
Released
11/9/2018- 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
Duration
Views
Related Courses
-
API Testing and Validation
with Keith Casey1h 13m Advanced -
Scripting for Testers
with Dave Westerveld1h 50m Intermediate
-
Introduction
-
1. Understanding Web Services and APIs
-
Introduction to web services2m 37s
-
Types of APIs3m 38s
-
Exercise: Map your app3m 15s
-
-
2. Getting Started with API Testing
-
Your first tool: Postman3m 35s
-
Exploring an API5m 18s
-
Challenge: Map the API1m 18s
-
Solution: Map the API4m 58s
-
-
3. API Authorization
-
Using OAuth tokens3m 28s
-
4. Hands-on API Testing
-
Testing GET calls4m 31s
-
Challenge: Find the secret2m 47s
-
Testing POST calls5m 34s
-
Testing PUT calls5m 20s
-
Testing DELETE calls3m 12s
-
Challenge: Find the 5003m 54s
-
Solution: Find the 5004m 22s
-
-
5. Additional API Testing Considerations
-
API automation4m 50s
-
Performance testing4m 18s
-
Security testing3m 16s
-
Conclusion
-
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.
CancelTake 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.
Share this video
Embed this video
Video: Testing GET calls