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.
Insomnia user here too, I’ve found it to be simple,clean and to my taste.
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
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 use milkman
I completely stopped using all those clients. We now just store the requests alongside the code in an http file and use the built in IntelliJ HTTP Client to make the call. No need for a separate program, integrates with your code, you can save responses to make sure they don’t change, it’s all stored in git. There’s a ton of benefits and not many downsides.
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
just create a new file of type HTTP Request, click on the
*Examples
dropdown in the top right, choose the type of thing you want to do, copy one of the examples, and then paste it into the.http
file you created. Then hit the play button! dead simple!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.
no worries. I’m just slow to respond. Got lots going on. Seems like you figured it out though? Do you want some more guidance?
deleted by creator
What is an HTTP file?
This also exists for VSCode by the way.
yeah looks like it’s in visual studio too. https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0
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.
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
+1 for Insomnia
Hoppscotch is pretty cool
I’m using the vscode extension called Thunderclient
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).
deleted by creator
Same for me, I’ll notice my computer is a bit loud, realise I forgot to close postman and it’s just sitting there, doing nothing, minimised, and my 12 core CPU is sat at 20%.
I close postman, within seconds the fans spin down.
I’ve tried a few alternatives but the rest of the team use postman and we’ve got shared collections and pretty extensive pre-request scripts and nothing else I’ve tried really fits the bill.
There is always the web version of postman. It can make localhost calls if you install their desktop agent. Might have better memory management somehow? I dunno.
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.
I do have some bugs with Insomnia, for example with the oauth configuration failing. (I think it has something to do with some variable there failing) You can workaround that by just removing oauth, and configuring again, but its annowing.
I still like insomnia overall tho.
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?
yes, I talk about it in several other comments on this thread.
https://www.jetbrains.com/help/idea/exploring-http-syntax.html https://www.jetbrains.com/help/idea/http-client-cli.html https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0
Yeah it’s called curl lol
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.
This is the way.
If you need a GUI I’d recommend Insomnia, if not cURL is pretty amazing.
Insomnia used to be good, but it’s WebKit, so really heavy to run, it crashed my PC several times