Nerd For Tech
Published in

Nerd For Tech

AMA: What should be validated in a response of an API?

This is a frequently asked question by most of the colleagues stepping into API Testing. The short answer is it really depends on your test scenario.

Photo by Taylor Vick on Unsplash

Let’s have a look at the basic but most important points to validate in your API test.

  • Status code — this is the first thing to validate after the response has been received. If the expected…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sajitha Pathirana

Sajitha Pathirana

Tech Enthusiast, SDET | Test Automation Consultant, and a Product Designer. I write about QA Trends, Testing, and Test Automation.