DEV Community

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?

Discussion (22)

Collapse
liyasthomas profile image
Liyas Thomas • Edited

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
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
chadalen profile image
Chad Alen • Edited

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
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

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
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.

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
melezhik profile image
Alexey Melezhik

Try out Tomty - it's super flexible and allows you to write test scenarios on many languages, including Bash.

Collapse
iwaniukooo11 profile image
Mateusz Iwaniuk

I use postman. I am just used to using it and it's good enough tool for me :D

Collapse
mahlombeiii profile image
Mahlombe III

I use postman. I used to like it more when it was lighter. But now it feels more bloated. I'm finding myself use the VS Code Rest client extension more and more these days

Collapse
stylestrip profile image
Ryan

I've been using Postman for a while now. Haven't heard of Insomnia until now. Going to give that one a shot and see how I like it.

Collapse
pavelloz profile image
Paweł Kowalski • Edited

I use Insomnia. I found it cleaner long time ago and just stayed with it. Postman wanted some weird things from me, for a curl with gui, it felt bloated.

Collapse
psanchez1982 profile image
Patricio Sanchez Alvial

I've read Mazda hahaha

Collapse
madza profile image
Madza Author

Hahah, you are not the only one, that's for sure 😂😂