this post was submitted on 31 Dec 2024
90 points (100.0% liked)

Programming

17748 readers
544 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 [email protected]



founded 2 years ago
MODERATORS
 

Hey!

I'm currently hitting the limits with Postman's free tier and need your recommendations for alternatives. My company isn't planning to upgrade to the paid version, so I'm specifically looking for:

Must-have features:

  • Unlimited API requests
  • Collection runner or similar batch testing capability
  • Data import from spreadsheets for test automation
  • The collection runner feature is crucial for my workflow: I heavily rely on being able to import Excel data to generate and map multiple API calls without manual setup.

Has anyone switched from Postman to something else that offers these capabilities? What's your experience been like?

Thanks in advance for any suggestions! ๐Ÿ™

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 30 points 1 week ago* (last edited 1 week ago) (3 children)

Curl. Everything you described is not hard to do via scripts. I use it every day for all of my API testing needs. You're also not limited to the features Postman provides.

[โ€“] [email protected] 9 points 1 week ago (2 children)

This is like telling someone who needs a new table saw that they can use a handsaw.

Like sure it works great, but it's going to be a long process getting things done compared to something like postman.

[โ€“] [email protected] 1 points 6 days ago

If a person needs to process an entire kitchen worth of lumber, then yes, tablesaw. If, however, a person needs to build one simple box and also learn how the wood fits together and practice their skills, then handsaw.

[โ€“] [email protected] 2 points 1 week ago (1 children)

It does not take long to use curl, not sure what you're talking about. There's not particularly special about what Postman does.

[โ€“] [email protected] 3 points 1 week ago (1 children)

xh is a nice modern alternative.

[โ€“] [email protected] 4 points 1 week ago (1 children)

What's not modern about curl?

[โ€“] [email protected] -1 points 1 week ago (2 children)

It's almost 30 years old. Not to knock cURL, it's a staple for sure.

HTTPie and xh claim to have a more intuitive UX. If the functionality is comparable, I choose tools written in memory-safe languages by default.

[โ€“] [email protected] 1 points 5 days ago

If being over 30 is "not modern", OK, sure, but that's a bit subjective.

The fuctionality is hardly comparable, cURL supports many protocols. As for memory safety it's trendy and modern but it hardly makes sense to rewrite such a project in a memory-safe language. It's been tried though (for some components) and the project lead's open to that.

[โ€“] [email protected] 4 points 1 week ago

https://daniel.haxx.se/docs/curl-vs-httpie.html

Httpie and xh only have a small subset of curl's functionality, and IMO the claims of more intuitive UX is dubious at best. More magical and limiting is what I would say. Httpie in particular is slow as hell, too.

Daniel has a more thorough comparison of features across different alternatives here: https://curl.se/docs/comparison-table.html

[โ€“] [email protected] 1 points 1 week ago* (last edited 1 week ago) (1 children)

How would you test a GraphQL API with curl?

EDIT: Nevermind I just looked it up and I'll just stick with postman for now.

[โ€“] [email protected] 1 points 1 week ago

The same way you test any other API. Not really different. I tend to keep my request bodies in separate files organized in folders to keep things tidy.