In positive testing, the API should return a success status code, typically _______ when the input is valid.
- 200
- 201
- 404
- 500
In positive testing, a success status code like 200 or 201 is expected when the input is valid. This indicates that the API has processed the request successfully.
Loading...
Related Quiz
- In API security testing, what is the significance of validating input fields?
- In a scenario involving a distributed API architecture, how would you approach performance testing to ensure uniform response times across different geographical locations?
- When testing an API for an e-commerce application, what scenarios would be crucial for both positive and negative testing?
- Why is it important to test APIs for different types of network conditions?
- How does throttling or rate limiting impact third-party API integration, and how should it be tested?