What is Postman?
Postman is
an API client. We can develop, test, share and document APIs using postman.
Download
Postman and Install.
You can
download the postman from there website or you can add it as a chrome extension.
You need to sign up with your credentials for using postman.
In the
postman UI different options are available and you can explore it.
Collections
Collections
are group of API request, that can be stored and saved in logical arrangement.
You can easily
create a collection using the ‘New’ button in the Postman UI. Also there are
options for creating different folders inside the collection. You can create different
folders for GET, POST, PUT, DELETE request and create the request inside the
collections.
How to run
Collection?
- First click on the collection name.
- Then click on the ‘Arrow’. It will open a window with run button.
- Click on the Run button. It will open a Collection Runner.
- You can run the collect by click on the ‘Run Collection button’
It will run
all your request and show the detail report. Different options like
export the result and Retry are available in the result page.
Variables
Variables
are the data store(elements) that can take different values. With this variable
we can reuse it at multiple places, can avoid the repetition and also can avoid
the rework when values changes.
We can add
the variables by edit the collection.in the edit screen there is a tab called
Variables you can add the variable in that screen.
No comments:
Post a Comment