API Testing · Middle · Question 18 of 75

How do you test a rate limit of 100 requests per minute?

Show the answer

Correct answer: Send 101 requests and check the 101st gets 429 with Retry-After

Explanation

Also check that the limit resets, counts per user or key as documented, and can't be bypassed by changing headers.

Further reading

Problem with a question

API Testing · Middle · question 18

Test yourself

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

Take this quiz