Click here to Skip to main content
15,881,715 members
Articles / Web Development

The Postman Always Tests Your Web APIs, Twice.

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
4 Jul 2016CPOL2 min read 8.8K   3  
The postman always tests your web APIs, twice

The Postman Always Tests Your Web APIs, Twice.

If you are a developer that spends quite a bit of time writing RESTful, OData or any other type of Web API, then you are probably also finding yourself doing a reasonable amount of time testing these as well. If that is the case, then this post might be something worth reading.

Get to Know Your Postman

Postman is a simple Web REST client that allows you to easily create and monitor requests and responses from your existing Web API.

It's extremely easy to use and while it may not go as far in-depth as Fiddler, its ease-of-use and clean, refined interface provides many of the same features you would expect and commonly use:

The Postman Always Tests Your Web APIs, Twice.

One of the best things about it is that you get all of the convenience of testing your API without ever leaving the browser as Postman is available as a Chrome App. Simply download it, open it up, target your API and fire away!

If you need to really dive-deep into issues with your API and examine the requests / responses at the byte-level, then by all means, use Fiddler. But as I have found, Postman does a fine job most of the time.

Some Fun Features

  • The UI - The interface is certainly worth mentioning as the application runs extremely well and is quite intuitive. Adding custom headers? Easy. Need to re-run previous requests? No problem. It just works.
  • Authentication made easy - Making requests to secure APIs becomes much easier with Postman. If you are using Basic Authentication, it's just a few keystrokes from getting the job done. Or if you actually use some type of Forms Authentication and already have the token in your browser, the Interceptor feature will take care of it for you.
  • Flexibility - One of the nicest things about Postman is that you can run it in your browser (as a Chrome App) or you can install the actual application on iOS.
  • The Price - Unless you need some of the cool team-related features and other premium functionality that Postman offers, it's free.

See It In Action

While I could have made a walk-through video going through the entire process of setting everything up, all of my developer principles told me that it had already been done. Sure enough, Jerrie Pelser of ASP.NET Casts had already created a video walking through this process:

So if this post or the video above piqued your interest, then I'd encourage any readers to download it and play around with it. I know I've been using it quite a bit since originally running across it and thought it was worth sharing.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
An experienced Software Developer and Graphic Designer with an extensive knowledge of object-oriented programming, software architecture, design methodologies and database design principles. Specializing in Microsoft Technologies and focused on leveraging a strong technical background and a creative skill-set to create meaningful and successful applications.

Well versed in all aspects of the software development life-cycle and passionate about embracing emerging development technologies and standards, building intuitive interfaces and providing clean, maintainable solutions for even the most complex of problems.

Comments and Discussions

 
-- There are no messages in this forum --