Catalyst
Catalyst is a lightweight and extensible API testing tool. It allows you to define and execute HTTP API tests through a declarative configuration file.
Features
- Test Definition: Configure API test scenarios using a configuration file.
- Variable Management: Chain tests by extracting and storing variables (e.g., cookies, JSON data).
- Configuration Validation: Pre-run syntax and value checks for test configurations.
Installation
Usage
Create your test file in your project .catalyst/tests.toml
Example test configuration
[]
= "http://localhost:8080"
= { = "Catalyst", = "application/json" }
[[]]
= "Example Test"
= "GET"
= "/api/example"
= 200
Running Tests
Execute the tests from the command line:
To list all tests or validate your configuration, use: