Capgemini interview question

How to validate the tests in api testing ?