API Testing · Junior · Question 71 of 75

What does a very long string, e.g. 10,000 characters, in a name field test?

Show the answer

Correct answer: Length limits and how the API handles oversized input

Explanation

The API should reject it with a 400, not crash, truncate silently or slow down. Very large bodies can also be a denial-of-service risk.

Further reading

Problem with a question

API Testing · Junior · question 71

Test yourself

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

Take this quiz