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?

Latest comments (30)

Collapse
 
uhaleks profile image
Aleksandr Ukhanov

If you have a PC, try NativeRest. This is a 100% native REST API client without Electron for Windows. It starts fast, uses 100 times less RAM than Postman and less load CPU.

  • Working in offline mode
  • Unlimited local workspaces
  • Full-featured portable version
Collapse
 
madza profile image
Madza

Thanks a lot for sharing, mate! πŸ‘πŸ’―

Collapse
 
rakeshkr2 profile image
Rakesh KR

I prefer Postman for API testing due to its intuitive interface, extensive features, and strong community support. Its user-friendly design streamlines the testing process, and features like collections and test automation enhance efficiency.

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

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

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.

Features
Simple and powerful CLI
Monitoring network traffic in real-time. Supported protocols:
HTTP/1.1 (REST, etc.)
HTTP/2 (gRPC)
AMQP (RabbitMQ, Apache Qpid, etc.)
Apache Kafka
Redis
Works with Kubernetes APIs. No installation or code instrumentation
Rich filtering

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

Thanks for the input πŸ™β€

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
 
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
 
psanchez1982 profile image
Patricio Sanchez Alvial

I've read Mazda hahaha

Collapse
 
madza profile image
Madza

Hahah, you are not the only one, that's for sure πŸ˜‚πŸ˜‚

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