134
Postman alternatives? (programming.dev)

I would like to hear if any of you are using different app for API testing than Postman.

I’m not telling that Postman is bad, but maybe there’s all that I should check out. Recently I tried RapidApi and even tho the app is kinda cool I missed few options and went back to Postman for now.

top 50 comments
sorted by: hot top controversial new old
[-] Stopher@reddthat.com 59 points 1 year ago

I am a fan of Insomnia. As far as I can tell it has most of the features I used in postman without all the paid upgrade nags

[-] crusa187@vlemmy.net 12 points 1 year ago

Seconding Insomnia. Sleeker interface imo, only thing it’s lacking in feature parity afaik is the cookie sniffer, but you can grab what you need in postman or js console and then plug it into insomnia np.

Also, cURL :]

[-] theherk@lemmy.world 3 points 1 year ago

ducaale/xh is excellent for anybody that likes to use HTTP from a CLI.

load more comments (1 replies)
load more comments (1 replies)
[-] WHATaDEMAGE@programming.dev 10 points 1 year ago

Insomnia is really good, never looked back at postman since i use Insomnia!

[-] prwnr@programming.dev 4 points 1 year ago

never heard about it. gonna give it a try for sure. thanks for the suggestion!

[-] MaungaHikoi@lemmy.nz 3 points 1 year ago

The one thing I find difficult in Insomnia is making the auth common across a group of requests. I end up duplicating existing requests which doesn't help if I need to update the process at all. Is there a way to use common auth routines yet?

[-] caiohsramos@lemmy.eco.br 22 points 1 year ago

Insomnia is pretty cool and open-source

[-] astral_avocado@programming.dev 16 points 1 year ago
[-] CodeBlooded@programming.dev 4 points 1 year ago

This is the way.

[-] pfrost@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

No joke, I use curlie, .curlrc and a bunch of scripts

load more comments (2 replies)
[-] emrikol@lemmy.sdf.org 15 points 1 year ago
[-] CosmicPanda@programming.dev 14 points 1 year ago

Another vote for Insomnia here. I used to use Insomnia primarily until a lot of my work switched over to gRPC and I've found that Postman works a lot better for that. I still prefer Insomnia for the simple UX and speed, just wish it had better gRPC support.

load more comments (1 replies)
[-] ray_gay@programming.dev 12 points 1 year ago
[-] schnex@reddthat.com 10 points 1 year ago

I mostly use httpie on the fish shell with autocompletion for quick requests, but it's no replacement

[-] sosdoc@programming.dev 6 points 1 year ago

httpie now also has a postman-like UI! Been using it for a while and I'm liking it for what it is - https://httpie.io/app

load more comments (3 replies)
[-] Gushys@programming.dev 9 points 1 year ago

Insomnia is great and has an easy, simple interface. But I feel like creating complex collections with different environments is a lot simpler with postman

[-] thepiguy@lemmy.ml 9 points 1 year ago

Insomnia, or if you really love the command line and dont need to document or save your API requests, curl (don't recommend this for anything beyond simple testing).

[-] mundane@lemmy.world 8 points 1 year ago

If you like the command line but want something more user friendly than curl, I suggest httpie.

load more comments (1 replies)
[-] abhibeckert@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

I recommend Visual Studio Code and one of the following two extensions:


Either one isn't really the full picture - you'll ned to combine it with other extensions - such as a good JSON language extension (which will give you syntax highlighting, error checking, code folding/etc.

The most important extension is CoPilot. That's the killer feature which makes Visual Studio Code vastly better than Postman.


Thunder is very similar to Postman. Not much to say other than it works well, it's free, millions of people use it.

It's not really my cup of tea, but I do think it's better than Postman because you can use your own version control servers to collaborate with colleagues, which is generally better (and cheaper) than Postman's collaboration service in my opinion (you get diffs, code review, pull requests, history, etc etc for all your most important API tests).


Personally I prefer REST Client (also free, and has even more users than Thunder).

REST Client is really simple. It adds a new "HTTP" text file type. You simply type a HTTP request into the file and hit a hotkey (or click a button) to execute the request. And it shows you the response. Easy.

HTTP requests and responses are just plain text, and you can simply save those as files in your project. REST Client also has basic support for variables, API credentials, etc. Not quite as user friendly as Postman or Thunder Client, but it makes up for that by being straightforward and flexible.


CoPilot Chat, works with both, but having everything in plain text gives it more control over REST Client than Thunder Clinet you can write (and edit) your requests with a series of simple plain english prompts. E.g. "JSON request with a blog post body" will give you:

POST https://example.com/blog/posts
Content-Type: application/json

{
    "title": "My First Blog Post",
    "body": "This is the content of my first blog post. It's not very long, but it's a start!",
    "author": "John Doe",
    "tags": ["blogging", "first post"]
}

You might follow that up with "Add a UUID" or "Add a JWT auth header".

Copilot can answer questions too - e.g. "How do I unsubscribe a user with the Mailchimp API?" They use the "HTTP PATCH" request type - WTF.

[-] deltamaniac@programming.dev 8 points 1 year ago

Insomnia user here too, I've found it to be simple,clean and to my taste.

[-] pimterry@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

I'm the maintainer of HTTP Toolkit - it's not a Postman alternative (it's an open source project focused on intercepting & debugging traffic, not sending it) but I'm actually working on building a UI for exactly this right now, so this thread is perfectly timed!

Is there anything that any of you really love or hate about any of the tools suggested here?

What core features beyond just "edit method+URL+headers+body, send, view the response status+headers+body" are essential to you?

Anything you wish these tools could do better?

I'm planning on taking the client functionality live within a few weeks max, so if you want to help your perfect Postman alternative come to life now's the moment 😁

[-] abhibeckert@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

The big three for me are:

  1. For a given project, maintain a list of HTTP requests I often need to send
  2. Some way to save responses, so I can compare how the server does respond to how it previously responded.
  3. Both need to be shared with my colleagues. And this must not share any auth credentials/tokens/etc that are in every request (I want that do be done separately with something more secure).
[-] Grappling7155@lemmy.ca 8 points 1 year ago

I’m using the vscode extension called Thunderclient

load more comments (2 replies)
[-] RonSijm@programming.dev 8 points 1 year ago

I usually generate an API client in C#, and just use that. For example, and entire integration CRUD test for a user would just be something like:

var user = TestClient.CreateUser(1234, "Bob");
user.Id.ShouldBe(1234);
user.Name.ShouldBe("Bob");

var userThroughGet = TestClient.GetUser(1234);
userThroughGet.ShouldNotBeNull();

TestClient.EditUser(1234, "John");
userThroughGet = TestClient.GetUser(1234);
userThroughGet.Name.ShouldBe("John");

TestClient.DeleteUser(1234);
userThroughGet = TestClient.GetUser(1234);
userThroughGet.ShouldBeNull();

Trying to set up those kinda scenarios quickly with Postman was getting pretty tedious

[-] ramanga@feddit.uk 7 points 1 year ago

I mostly use the rest client extension for vscode

[-] prwnr@programming.dev 3 points 1 year ago

I tried to use the HTTP Client built into Jetbrains IDE, but I just can’t get hang of it

[-] EarlTurlet@lemmy.zip 7 points 1 year ago

I use Hurl. Everything is just a text file:

POST https://example.org/api/tests
{
    "id": "4568",
    "evaluate": true
}

HTTP 200
[Asserts]
header "X-Frame-Options" == "SAMEORIGIN"
jsonpath "$.status" == "RUNNING"    # Check the status code
jsonpath "$.tests" count == 25      # Check the number of items
jsonpath "$.id" matches /\d{4}/     # Check the format of the id
load more comments (4 replies)
[-] kogasa@programming.dev 7 points 1 year ago

I'm saying that Postman is bad. maybe not in terms of functionality, but damn if it doesn't run like a slug on my work computer, which is just fine handling a dozen Visual Studio and Rider instances. It seems like it works perfectly for about 5 minutes and then goes to crap.

So yeah, I'd be interested in an alternative too. I only really use it for basic functionality (creating, sharing, and running collections of requests with configurable parameters).

load more comments (2 replies)
[-] dotslashme@infosec.pub 5 points 1 year ago

If you need a GUI I'd recommend Insomnia, if not cURL is pretty amazing.

[-] MariusGundersen@programming.dev 5 points 1 year ago

I find postman to be too complex, too much config all over the place. It's also difficult to share with others, it would be much better if it could store the settings in a file that could then be checked into git. That way everyone on the project would have the requests and could add and modify them as the server changes. Does any client like this exist?

load more comments (1 replies)
[-] jojocoding@programming.dev 5 points 1 year ago

I just started using Insomnia and I really like it, highly recommended!

[-] best77485@lemmy.dbzer0.com 4 points 1 year ago
load more comments (1 replies)
[-] ake@lemmy.dbzer0.com 4 points 1 year ago

been using hurl recently, a lot easier to use than postman.

[-] captain_samuel_brady@lemm.ee 4 points 1 year ago

I must be the only moron using JMeter in place of Postman.

load more comments (2 replies)
[-] CodeBlooded@programming.dev 4 points 1 year ago

I stopped using postman in favor of just writing Python scripts to test what I was testing. 🤷‍♂️

(I’m getting tired of learning new tools when I only end up needing some surface level functionality that I can quickly write myself. Maybe that’s just me.)

[-] Code@programming.dev 4 points 1 year ago

Insomnia.kong

[-] scottmeme@sh.itjust.works 4 points 1 year ago

+1 for Insomnia

[-] caesura@lemmy.ninja 4 points 1 year ago

If you’re on a Mac, I recommend the RapidAPI native HTTP client. It used to be called Paw and it recently got acquired by the RapidAPI team but it hasn’t changed much and still works pretty well IMO. I’ve been using it for years to test out APIs and i like it better than Postman.

[-] nibblebit@programming.dev 3 points 1 year ago
[-] akakorun@programming.dev 3 points 1 year ago

I am alternating between Postman and https://hoppscotch.io, it's open source (https://github.com/hoppscotch/hoppscotch) and has great feature set.

As it's a web app, and a minor downside is that you have to have to install a browser extension (open-source as well) or use a proxy in order to aviod CORS issues.

[-] johntash@eviltoast.org 3 points 1 year ago

Another vote for Insomnia if you want something postman-like (sortof). But also check out hurl if you're looking for something more test-oriented.

[-] prwnr@programming.dev 3 points 1 year ago

I see that Hurl is much alike the Jetbrains HTTP Client. maybe I could give that one another try or the Hurl as this way of writing requests is more “developer-like” and looks neat

load more comments
view more: next ›
this post was submitted on 06 Jul 2023
134 points (100.0% liked)

Programming

17352 readers
251 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS