Security Assessment and Testing

A team sends malformed and out-of-range parameters directly to a service's endpoints, skipping the web front end, to check input validation and authentication. Which test is this?

Show the answer

Correct answerD. API testing

AWhy not this: Static code review reads source code without sending any requests to running endpoints.

BWhy not this: Network interface testing examines protocols, ports, and services at the network level, not application endpoint parameters.

CWhy not this: User interface testing exercises the front end, but this test deliberately skips the web front end.

DWhy this is right: API testing sends requests directly to endpoints to verify validation, authentication, and error handling.

Sending crafted requests straight to a service's endpoints to check validation, authentication, and error handling is API testing, a form of interface testing. User interface testing works through the front end, which this test bypasses.