A team must find the request rate at which an API stops meeting its latency target and verify that it recovers after overload. Which automated test should the pipeline run?
Show the answer
Correct answerA. A stress test that ramps beyond capacity and then reduces load
AWhy this is right: Increasing load beyond capacity identifies the threshold, and reducing it allows recovery to be assessed.
BWhy not this: Normal steady load can validate expected performance but does not reveal the overload threshold.
CWhy not this: Functional regression tests check behavior rather than capacity limits and recovery under load.
DWhy not this: Unit tests validate isolated code behavior, not system capacity or recovery from excessive traffic.
A stress test increases demand beyond expected capacity to identify the breaking point and assess recovery as load decreases. A constant-load test at normal traffic validates expected operation but does not establish overload behavior.