API Testing · Senior · Question 42 of 75

What should be tested for long-running operations exposed via API?

Show the answer

Correct answer: Polling, cancellation, timeouts, retries and the final result

Explanation

Jobs can fail halfway, be cancelled or time out. Each state needs a clear status and safe cleanup.

Further reading

Problem with a question

API Testing · Senior · question 42

Test yourself

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

Take this quiz