API Testing · Junior · Question 34 of 75

What is negative API testing?

Show the answer

Correct answer: Sending invalid or unexpected input and checking it's rejected well

Explanation

Missing required fields, wrong types, too long strings and invalid IDs should give clear 4xx errors, not crashes or saved bad data.

Further reading

Problem with a question

API Testing · Junior · question 34

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