Capgemini Interview Question

How to validate the tests in api testing ?