Please follow video instruction for download this file
On this tutorial, we’re constructing API take a look at suite in Postman and Operating it Command Line(Newman).
API calls Assortment embody primarily three issues:
HTTP Request (POST,GET,PUT,DELETE )
Standing Code/ Response Code
Standing Code/Response Code – There are a lot of standing/response code, from them we will confirm the response.
200 – OK, The request was profitable.
201 – Created, The request was profitable and knowledge was created.
204 – No Content material, The response is empty.
400 – Dangerous Request, The request couldn’t be understood or was lacking required parameters.
401 – Unauthorized, Authentication failed or person doesn’t have permissions for the requested operation.
403 – Forbidden, Entry denied.
404 – Not Discovered, Knowledge was not discovered.
405 – Methodology Not Allowed, Requested technique just isn’t supported for the desired useful resource.
500 – Inner Server Error.
503 – Service Unavailable, The service is non permanent unavailable.
API TESTING is a kind of software program testing that entails testing
utility programming interfaces (APIs) straight and as a part of integration testing to find out in the event that they meet expectations for performance, reliability, efficiency, and safety.
Steps to set setting variable.
Click on on Handle Setting.
Click on on ADD
Write down the Title of Setting.
Fill key & worth, You possibly can go key = variable and worth is your host IP deal with.