
Octrafic
Test your APIs in plain English, straight from the terminal
133 followers
Test your APIs in plain English, straight from the terminal
133 followers
Octrafic is an open-source CLI for API testing. Point it at any OpenAPI spec or live endpoint, describe what you want to test in plain English, and let it handle the rest - from generating requests to validating responses and exporting a PDF report. No test scripts, no GUI, no mocks. Just a single binary. Works with OpenAI, Claude, Ollama, and any OpenAI-compatible provider








Octrafic
Hey everyone! 👋
I built Octrafic to make API testing simpler - no test scripts, no GUI, no mocks.
Point it at any API, describe what you want to test in plain English, and the AI agent handles the rest - planning scenarios, running real requests, validating responses, and exporting results.
What it can do:
- Describe tests in plain English - no boilerplate, no config files
- Generate an OpenAPI spec from your source code
- Run in CI/CD pipelines non-interactively with a single command
- Export tests to Postman, curl, or pytest to use in your existing toolchain
- Export PDF reports
- Works with any LLM - OpenAI, Claude, Ollama, llama.cpp. You bring your own key, nothing goes through my servers.
Single binary, no runtime dependencies, fully open-source under MIT.
Give it a shot and let me know what you think.
@hawierdev Single binary that exports to Postman, pytest, and curl is a smart wedge. Teams already have one of those baked into CI, so Octrafic doesn't force a toolchain swap... it just generates the artifacts faster. Different play from Bruno or Hoppscotch, which still need you to manually build and maintain collections. The OpenAPI-from-source-code generation is what'd pull me in though. Hand-maintained specs drift from reality within a week. If Octrafic can keep that spec accurate as code evolves, it becomes the source of truth for contract testing, not just an ad-hoc testing tool.
Octrafic
Octrafic
@hawierdev Congratulations on the launch! What’s the onboarding experience like for developers new to Octrafic? Can someone start testing an API in minutes?
Octrafic
@hawierdev I can 100% relate to this. This is definitely going to save tons of time and effort! Excited to check it out.
CLI tools for API testing have always felt
like they need a PhD to configure properly.
Plain English interface is the right call.
The OpenAPI spec support is what caught my
eye - been dealing with API validation while
building an automation tool and writing test
scripts manually is genuinely painful.
Does Octrafic handle auth flows well?
Things like OAuth tokens, API key rotation
mid-session - that's usually where CLI
testing tools fall apart in my experience.
Also open-source is a big green flag.
Will definitely be exploring this!
Octrafic
"No scripts, no GUI, no mocks" resonates — I've lost too many hours writing boilerplate just to validate a single endpoint. The OpenAPI spec auto-generation from source code is a smart move. Does it handle versioned APIs where multiple spec versions coexist?
This is exactly the kind of tool I didn't know I needed. The plain English to test case pipeline is clever — how does it handle auth heavy APIs where half the complexity is just getting a valid token before you can test anything? Also curious how the PDF reports look, that could be genuinely useful for handing off to a client.
Congrats for the launch - this looks super useful and impressive!
Octrafic