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.
Removed by mod
Once I learned about http files I never went back. It’s so easy to share and use, I primarily use JetBrains but there are extensions for VSCode that do the same thing that I have used as well.
What is an HTTP file?
Removed by mod
any resources to get the hang of the IntelliJ Client? cause when I tried it I kind of hit a wall not knowing where to start
Removed by mod
anywhere on the project? hmm, that sounds pretty neat.
sorry for bugging you, but do you know if there is some way to import postman collections into this kind of a file? cause I have like 100 files in postman atm
edit: nvm, just tried it out and I can get from postman a HTTP “code” and simply paste it into .request fiel.
Removed by mod
deleted by creator
This also exists for VSCode by the way.
Removed by mod
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
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?
never heard about it. gonna give it a try for sure. thanks for the suggestion!
Insomnia is really good, never looked back at postman since i use Insomnia!
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 :]
Also a websocket test mode would be nice. It’s something I do miss from Postman
ducaale/xh is excellent for anybody that likes to use HTTP from a CLI.
deleted by creator
+1 for Insomnia
xh and tiny shell scripts.
Example: sign-up-forbidden-username.req
#!/bin/bash xh POST http://0.0.0.0:2884/sign-up usename=admin password=pw
to run
./sign-up-forbidden-username.req
This returns 403 and “Username is unavailable”
xh is a rust implementation of httpie. They’re going for full parity, and works really well for what I need it for so far You can also read input from a file. Which IMO makes GUI API testing seem silly.
If you need a GUI I’d recommend Insomnia, if not cURL is pretty amazing.
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?
Removed by mod
Yeah it’s called curl lol
This is the way.
No joke, I use curlie, .curlrc and a bunch of scripts
can you elaborate a bit on that ? I’ve only used curl from cli and never used .curlrc. and what’s curlie ?
Curlie is a wrapper on curl that makes more ergonomic to use. I set path to cookie jar in .curlrc. I sync cookies from the browser.
I mostly use the rest client extension for vscode
I tried to use the HTTP Client built into Jetbrains IDE, but I just can’t get hang of it
Insomnia used to be good, but it’s WebKit, so really heavy to run, it crashed my PC several times
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
Removed by mod
It’s very similar to what JetBrains has and you can easily translate between the two (assuming you aren’t using assertions or any Hurl-specific features), but not exactly the same syntax.
I tend to go with Hurl because it’s self contained and you can do things like throw it in your CI builds.
Removed by mod
Came here to write this, so you get my upvote instead.
I don’t actually use Hurl, I use Jest (since I’m usually writing in TS) so that I can prep state before and confirm it afterwards and fully ensure that the request did what it was supposed to do, but if you’re already just using Postman, you’re likely not testing your state, and Hurl is a SIGNIFICANT improvement.
Edit text files in any editor. Run it from the command line. Include it in your CICD with ease. It’s an incredible tool and it deseres to be far, far more popular than it is.
As a lot of other comments have already suggested, HTTP Toolkit is a good alternative and I used it quite a bit prior to discovering Postman…
I must be the only moron using JMeter in place of Postman.
real madman. I remember using JMeter few years ago and it was a nightmare. Did it improve over the last 5 years?
It seems about the same. The only real improvement that I’ve noticed, and maybe I just had it set up wrong, is that it can now handle high resolutions. The first time I used it the text was impossible to read. It has a lot of really cool features, but it’s not the friendliest software.
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.)
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