A lot of the Go companies I construct expose REST APIs, so API testing is one thing I do daily.
For a very long time I relied on GUI purchasers, however as extra of our workflow moved into CI/CD, I wished a terminal-based answer that could possibly be scripted and reused.
The options I used to be searching for have been:
-
Run API checks from the terminal
-
Assist a number of environments
-
Combine with CI/CD
-
Return dependable exit codes
-
Work nicely with OpenAPI-based APIs
I’ve tried a number of instruments, together with curl, HTTPie, Hurl, Newman, and Apidog CLI.
Currently I’ve been utilizing Apidog CLI as a result of I can execute the identical API take a look at situations regionally whereas growing a Go service after which run these precise checks in GitHub Actions with out sustaining separate workflows.
For Go builders, a terminal-first workflow has made API validation a lot simpler to automate.
I’m curious what everybody else is utilizing.
-
Which terminal-based API testing software do you suggest?
-
Do you depend on
httptestalone, or do you additionally use an exterior CLI software for end-to-end API validation?

