This project covers manual API tests conducted using Postman for TMDB (The Movie Database). The tests include core functionalities such as user account operations, movie listings, adding to favorites, watchlist management, and rating movies.
- Postman – For API testing and automation
- TMDB REST API – The APIs being tested
- Base URL (API v3):
https://api.themoviedb.org/3 - Authentication: Requires Bearer Token
- Content-Type:
application/json
| Test Case | Endpoint | Method | Description |
|---|---|---|---|
| Valid Login | /login |
POST | Logs in with valid credentials |
| Invalid Login | /login |
POST | Returns an error for invalid credentials |
| Test Case | Endpoint | Method | Description |
|---|---|---|---|
| Get Account Details | /account |
GET | Retrieves user account details |
| Add Movie to Favorites | /account/{account_id}/favorite |
POST | Adds specified movie to favorites |
| Add Movie to Watchlist | /account/{account_id}/watchlist |
POST | Adds movie to the watchlist |
| Get Favorite Movies | /account/{account_id}/favorite/movies |
GET | Lists user's favorite movies |
| Get Rated Movies | /account/{account_id}/rated/movies |
GET | Lists user's rated movies |
| Get Watchlist Movies | /account/{account_id}/watchlist/movies |
GET | Lists user's watchlist |
| Test Case | Endpoint | Method | Description |
|---|---|---|---|
| Get Movie Details | /movie/{movie_id} |
GET | Retrieves details of a specific movie |
| Add Movie Rating | /movie/{movie_id}/rating |
POST | Submits a rating for the movie |
| Delete Movie Rating | /movie/{movie_id}/rating |
DELETE | Removes the user's rating |
| Test Case | Endpoint | Method | Description |
|---|---|---|---|
| Get Movie Genres | /genre/movie/list |
GET | Retrieves list of all movie genres |
| Get Now Playing Movies | /movie/now_playing |
GET | Lists movies currently in theaters |
| Get Popular Movies | /movie/popular |
GET | Lists popular movies |
| Get Top Rated Movies | /movie/top_rated |
GET | Lists top-rated movies |
| Get Upcoming Movies | /movie/upcoming |
GET | Lists upcoming releases |
| Search for Movies | /search/movie?query= |
GET | Searches for movies by keyword |
| Search for Keywords | /search/keyword?query= |
GET | Searches for matching keywords |
| Test Case | Endpoint | Method | Description |
|---|---|---|---|
| Unauthorized Access | /list/{list_id}/add_item |
POST | Validates proper error handling with an invalid session ID |
- Obtain your TMDB API Key.
- Create a Postman environment and add your authentication token.
- Use Bearer Token authentication in the Authorization tab.
- Run manual tests using the listed endpoints above.
TMDB Test Case.pdf→ Detailed list of test scenariosTMDB Endpoint.pdf→ Descriptions and parameters of tested endpoints
