DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,673 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Madza
Madza

Posted on

Postman vs Insomnia: which API testing tool do you use?

API testing is a crucial part of web development, allowing us to pass a specific set of data (or not) to application and making sure the expected response is returned, without using fancy UIs.

Currently I'm using Postman for this purpose, tho I've seen more and more people using Insomnia lately.

Which API testing tool do you prefer and why?

Top comments (27)

Collapse
 
liyasthomas profile image
Liyas Thomas • Edited on

If you're looking for an online tool, checkout: Hoppscotch.io, formerly Postwoman.

  • Used by 300k+ developers
  • 23k+ GitHub stars
  • 3,000+ daily users

We ❀️ open source: github.com/hoppscotch/hoppscotch

Collapse
 
maniflames profile image
Maniflames

I used postman before but was in need of a GUI that handles websockets as well and postwoman definitely saved the day.

Collapse
 
martinhaeusler profile image
Martin HΓ€usler

Insomnia all the way. Performance is quite good, I handle bulky JSONs in my daily work and Insomnia never breaks a sweat. UI/UX is decent too. Saved requests are managed nicely as well. Overall I've got no complaints with it and I see no reason to switch to another tool.

Collapse
 
sycured profile image
sycured

On my laptop, I use Insomnia for local dev but for distributed team and easy sharing, I prefer a self-hosted Postwoman

Collapse
 
cadams profile image
Chad Adams • Edited on

I use Insomnia because personally I like the UI better. Also if I needed to pay for it, it’s a lot cheaper than Postman. I can also do everything in Insomnia that I can do in Postman.

Collapse
 
cristiancastrodc profile image
cristiancastrodc

I use Insomnia in a daily basis. I prefer its simplicity when it comes to import (copy/paste) CURL requests. But I also recognize that Postman is a great tool, slightly more advanced.
Also, REST Client extension in VS Code saves my day when I have to store my API calls for later.

Collapse
 
avic75 profile image
Avi Cohen

I would recommend getMizu.io and open source also available on GitHub
github.com/up9inc/mizu

A simple-yet-powerful API traffic viewer for Kubernetes enabling you to view all API communication between microservices to help your debug and troubleshoot regressions.

Think TCPDump and Wireshark re-invented for Kubernetes.

Collapse
 
madza profile image
Madza Author

Thanks for the input πŸ™β€

Collapse
 
dooojo profile image
Ruslan

You can also try ApiScout. It is currently in open beta phase. ApiScout is realy fast and performant tool for testing Rest APIs. It may have not so many features as Postman at the moment, but they are comming.

Collapse
 
madza profile image
Madza Author

Thanks for sharing βœ¨πŸ‘πŸ’―

Collapse
 
sayjava profile image
Raymond Ottun

I recently switched to insomnia because of the graphql support, though I still find both app quite difficult to use.

Collapse
 
cescquintero profile image
Francisco Quintero πŸ‡¨πŸ‡΄ • Edited on

I use Postman and have used both. I kept using the first because it has request examples and documentation web page out of requests and examples.

All of these in the free tier (haven't needed yet upgrading)

Collapse
 
itachiuchiha profile image
Itachi Uchiha

Which API testing tool do you prefer?

I use Insomnia. I like it. But almost all the examples prepared with Postman on the web.

Why?

You may know that the Postman was a browser extension for a while. It always wanted to upgrade. I hated that. I removed it and I installed Insomnia.

Collapse
 
bob__florian profile image
Bob

I use Insomnia. Postman was great for along time but I feel the UI is more simple in Insomnia now. Postman felt bloated.

Collapse
 
kelvinmai profile image
Kelvin Mai

I switched to insomnia for performance reasons

Collapse
 
hkly profile image
hkly

I used Postman for a long time until my co-worker recently introduced me to Insomnia, and honestly, I made the switch because Insomnia was "prettier" lol

Collapse
 
dmkv profile image
Dmitry Makeev

Since I switched to Insomnia – it was like a breath of fresh air. But I still dreaming about native app instead Electron.

Collapse
 
fagunbhavsar profile image
fagun

Hi, I am trying to use Insomnia for one of my project. I was previously using Postman and for authentication - I was using option "Inherit from Parent" in Postman (Basically, both auth_token and auth_secret were mentioned as environment variables). Now, I am not sure how to use auth while using Insomnia. I tried it by defining as env variables in Insomnia too but it shows me "Unauthorized" error. Could someone guide me here? Thanks

Collapse
 
thisnoname profile image
ThisNoName

There's a default header plugin. If your token/secret is static, you can set it from there; If token come from another request, you can call the request from default header; If you have multiple providers, you can use another plugin to save token into a variable, then set authorization header to the variable.

DEV has this feature:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›