API Testing · Senior · Question 68 of 75

How do you approach testing an API with no documentation?

Show the answer

Correct answer: Explore it, record traffic, infer a spec and confirm with owners

Explanation

Capturing real calls from clients gives a first map. Writing the inferred OpenAPI spec turns knowledge into a shared artifact.

Further reading

Problem with a question

API Testing · Senior · question 68

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