Recall & Review
beginner
What are path parameters in API testing?
Path parameters are parts of the URL that act as variables. They let you specify which resource you want to access, like an ID in a URL.Click to reveal answer
beginner
How do you define a path parameter in a Postman request URL?
You write the parameter name inside curly braces in the URL, like
/users/:userId. Postman lets you replace :userId with actual values when testing.Click to reveal answer
intermediate
Why use path parameters instead of query parameters?
Path parameters identify specific resources directly in the URL path, making URLs cleaner and more readable. Query parameters are usually for filtering or optional data.
Click to reveal answer
intermediate
How can you test different path parameter values in Postman?
You can create multiple requests with different values or use Postman variables to change the path parameter dynamically during tests.
Click to reveal answer
beginner
What happens if you send a request with a missing or incorrect path parameter?
The server usually responds with an error like 404 Not Found or 400 Bad Request because it can't find the resource or the URL is invalid.
Click to reveal answer
In Postman, how do you represent a path parameter in the URL?
✗ Incorrect
Path parameters are shown inside curly braces like {userId} in Postman URLs.
What is the main purpose of path parameters in an API URL?
✗ Incorrect
Path parameters specify which exact resource you want to access.
If you send a request with a wrong path parameter, what status code might you get?
✗ Incorrect
A wrong path parameter usually leads to 404 Not Found because the resource does not exist.
Which of these is NOT a good practice for path parameters?
✗ Incorrect
Optional filters are better suited for query parameters, not path parameters.
How can you test multiple path parameter values efficiently in Postman?
✗ Incorrect
Using variables or environments lets you quickly swap path parameter values without editing URLs manually.
Explain what path parameters are and how you use them in Postman.
Think about how URLs change to access different resources.
You got /4 concepts.
Describe the difference between path parameters and query parameters in API testing.
Consider the URL parts and their purposes.
You got /4 concepts.