Show HN: Octrafic – Natural language API testing CLI (github.com)

2 points by mbadyl ↗ HN
It's a CLI tool that lets you describe what you want to test in plain English - the agent generates and runs the test plan against your API. You can point it at an OpenAPI spec, a Postman collection, GraphQL schema, or just a URL.

New in v0.5.0:

OpenAPI Scanner - scans your source code and auto-generates an OpenAPI 3.1 spec

Headless/CI mode - run non-interactively with octrafic test for pipeline integration

GitHub: https://github.com/Octrafic/octrafic-cli

Happy to answer questions any questions.

2 comments

[ 0.22 ms ] story [ 14.4 ms ] thread
Happy to answer any questions about the implementation. Built in Go - the OpenAPI Scanner was the most challenging part, it analyzes source code across multiple languages to auto-generate OpenAPI 3.1 specs. The headless mode was built specifically for CI/CD pipelines so you can run octrafic test non-interactively. Supports local LLMs via Ollama and llama.cpp if you don't want data leaving your machine.
How to use it with Wordpress API? Can I use my GLM-4.7-Flash locally?