Saturday, February 8, 2014

Using Postman to test API functions easily

Hi all, after a long break for blogging, I wanted to post something really interesting that I found while working with my new client project which basically needs to create connectors for an ESB to connect to a large set of popular APIs.

While working in the project, we faced so many issues where we wanted to make sure that the functionalists of APIs work as expected. Note the words "as expected". So, how are we going to make sure what the functions going to return and in which format will they be? Of course a well documented API should mention them but what if they didn't? And speaking with my own experience that some of the API documentations even contain functions that are deprecated or not in use but not mentioned them clearly in the API documentation. Here comes the usage of 'postman'. I assume you guys heard the word before and have experience in using it to test APIs but don't worry if u heard the word for the very first time since this post is for you guys.

So, What is Postman?


Please follow this Link to find more information about this plugin.


Postman Rest Client is an extension in Google Chrome web browser which can be found in Google Web Store. You can simply install it in your browser by following the above link and following the below screenshots.





















Notice that the extension will be downloaded and installed automatically in your web browser as shown below.




















Once it's installed, then open a new tab in chrome and you will see the postman icon as shown below.



















So, there we go. We can start using postman as we wish.

Short Description of what Postman does

Postman helps you be more efficient while working with APIs. Postman is a scratch-your-own-itch project. The need for it arose while one of the developers was creating an API for his project. After looking around for a number of tools, nothing felt just right. The primary features added initially were a history of sent requests and collections. A number of other features have been added since then.

If you found an API and if you want to test a function having the necessary headers, parameters and method type basically, you can simply test them in postman to make sure that it works as expected.

My next post will be on how to use postman for a selected API. In that, I wish I can explain more about it. 

Hope this post was useful to you guys :)

Find more information from the below Link

No comments:

Post a Comment