API Testing · Senior · Question 35 of 75

How can traces from observability tools improve API tests?

Show the answer

Correct answer: Asserting on internal calls, e.g. no N+1 queries or extra hops

Explanation

Tests can read the trace of a request and check query counts or that a cache was hit, catching performance regressions early.

Further reading

Problem with a question

API Testing · Senior · question 35

Test yourself

Take the API Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz