API Testing · Middle · Question 74 of 75

How do you test that a list endpoint doesn't show soft-deleted items?

Show the answer

Correct answer: Delete an item, then check lists, search and counts

Explanation

Soft deletes set a flag instead of removing rows. Every query must filter on it, and one forgotten filter brings deleted data back.

Further reading

Problem with a question

API Testing · Middle · question 74

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