A command-line tool for testing APIs using YAML configuration files.
- YAML-based test configuration
- Parallel test execution with concurrency control
- Environment variable substitution
- HTTP method support (GET, POST, PUT, DELETE)
- Status code assertions
- JSON response validation
- JSONPath field access
- Array length validation
- Numeric comparison operators
- Custom request headers
- Request duration tracking
- Color-coded test reports
- Query parameter support
- Authentication presets
- Test dependencies and chaining
- Response data extraction
- Test grouping and tagging
- Retry logic
- Export reports (JSON, HTML, XML)
- Mock server integration
- Request/response logging
- CI/CD integration helpers
go install github.com/dawgdevv/apitestercli@latestOr clone and build:
git clone https://github.com/dawgdevv/apitestercli
cd apitestercli
go buildCreate a tests.yaml file with your API test definitions, then run:
apitestercli runApitestercli/
├── cmd/ # CLI commands
├── internal/ # Internal packages
│ ├── assert/ # JSON assertions
│ ├── config/ # Configuration handling
│ ├── executor/ # Test execution
│ ├── loader/ # Test loading
│ └── report/ # Result reporting
└── pkg/
└── models/ # Data models
MIT