Home › Software Testing › Software Testing › tools_automation_cicd › REST API testing typically validates
REST API testing typically validates
AOnly screen reader accessibility tags
BStatus codes, response body and headers
COnly the visual layout of HTML pages
DOnly database schema integrity rules
Answer & Solution
Correct answer: B. Status codes, response body and headers
REST API tests assert HTTP status (200, 4xx, 5xx), response body structure and content, headers (Content-Type, caching), latency, and contract conformance. UI rendering is separate.
Related questions
In Scrum, the 'Definition of Done' (DoD) typically includesTest pyramid (Mike Cohn) advocates forA 'flaky test' is a test thatBehaviour-driven development (BDD) tools commonly usePerformance testing in general is BROADER than load testing because it includesAccessibility testing primarily ensures thatPenetration testing is a form ofMutation testing measures the effectiveness of