How do we investigate a correct response that arrives too slowly under concurrency?
Run functional regression tests when the decision is whether the service still produces the correct result. Run a load test when the decision depends on throughput, latency or errors under a specified workload. Establish correctness on known data before interpreting a latency chart for responses that might contain the wrong answer.
Keep the expected answer constant
A catalogue search for a seeded reference item should return its fixed ID. First check that result with one client. For an authorised performance trial, define the environment, request mix, arrival rate, duration and stop conditions with its owner. Record both correctness and timing. Fast error responses can make an otherwise broken service appear responsive.
| Decision | Functional regression | Load evaluation |
|---|---|---|
| Correct item returned? | Assert expected status and seeded item ID. | Sample or assert correctness throughout the workload. |
| Response slows with concurrent users? | One duration is a diagnostic observation. | Measure a latency distribution at the stated load. |
| Errors appear only after minutes? | Reproduce a minimal functional failure if possible. | Keep time series, error counts and workload phases. |
| Can anyone repeat the result? | Preserve build, fixture and assertion. | Also preserve machine capacity, data and load profile. |
Set a threshold another team could interpret
An illustrative objective is a 95th-percentile search response under 500 milliseconds during an agreed ten-minute steady period. Report the actual request count, error rate and cache state alongside it. Use a separate workload agreement for performance work. Cue April’s listed functional testing methods do not imply that a load campaign is part of an approved PR run.