API Testing · Junior · Question 50 of 75

What should a test check when sorting results with sort=price?

Show the answer

Correct answer: The order is correct, including ties and missing values

Explanation

Check ascending and descending, equal prices, nulls, and invalid sort fields, which should give a 400 rather than be ignored.

Further reading

Problem with a question

API Testing · Junior · question 50

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