API Testing · Senior · Question 66 of 75

How do you test that an API enforces limits on expensive operations, like exports?

Show the answer

Correct answer: Trigger many in parallel and check queues, limits and fair errors

Explanation

Without limits, a few users can exhaust workers or databases. Tests check per-user caps and clear 429 or queue responses.

Further reading

Problem with a question

API Testing · Senior · question 66

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