API Testing
3. How to test API?
API verification

Send GET request to https://jsonplaceholder.typicode.com/users as you see it on the image below and verify next:

1.Correct data is coming back

Imagine that you work for Facebook, and you navigate to a friends page. All of this information will be coming through an api and then displayed to you in a browser. But what if developers haven't built UI yet. So what you do, is you send an api request and verify that expected data is coming back in expected format.
2. Status code is 200 OK (success).
That is a correct code for successful response.
3. Response time.

It is pretty important as well. Some companies have their businesses built on api only, and every second of latency will move their margins down. So, make sure you ask your management what the expected response time for your apis is.
We help ambitious people to get into Tech with no prior experience.