A partner-facing service exposes endpoints with no web front end. Testers must confirm the endpoints reject out-of-range parameters and requests made with another tenant's token. Which testing BEST fits?
Show the answer
Correct answerD. API testing with malformed and cross-tenant requests
AWhy not this: Measures how much code the tests execute; it does not send hostile requests to an interface.
BWhy not this: Checks ports and protocol handling on the host, not parameter validation or tenant authorization in the endpoints.
CWhy not this: Needs a front end; this service has none, and UI fields do not test direct endpoint calls.
DWhy this is right: Exercises the endpoints directly with bad parameters and another tenant's token, which is the stated need.
API testing sends malformed, out-of-range and unauthorized calls directly to the endpoints and checks the responses. User interface testing needs a front end, which this service lacks, and would not exercise endpoint authorization.