| Crates.io | catalyst |
| lib.rs | catalyst |
| version | 0.2.9 |
| created_at | 2025-03-11 21:59:41.730107+00 |
| updated_at | 2025-09-03 14:24:00.694877+00 |
| description | A lightweight API testing tool |
| homepage | https://github.com/caffeidine/catalyst |
| repository | https://github.com/caffeidine/catalyst |
| max_upload_size | |
| id | 1588691 |
| size | 340,030 |
A lightweight and powerful API testing tool
Documentation | Installation | Examples
Catalyst is a lightweight and extensible HTTP API testing tool. It allows you to define and execute API tests through a declarative configuration file, without writing any code.
cargo install catalyst --locked
Create your test file in your project .catalyst/tests.toml
[config]
base_url = "http://localhost:8080"
default_headers = { "User-Agent" = "Catalyst", "Content-Type" = "application/json" }
[[tests]]
name = "Example Test"
method = "GET"
endpoint = "/api/example"
expected_status = 200
max_response_time = 500 # maximum time in ms
assertions = [
{ type = "contains", path = "data.status", value = "success" },
{ type = "regex", path = "data.id", pattern = "^[0-9a-f]{8}$" }
]
Execute the tests from the command line:
# Run all tests
catalyst run
# List all tests
catalyst list --verbose
# Validate your configuration
catalyst validate
For complete documentation, visit catalyst.caffeidine.com.
This project is licensed under the MPL-2.0.