This example demonstrates REST API testing using TestQL's TestTOON tabular format.
health-check.testql.toon.yaml— Basic API health check with assertionscrud-workflow.testql.toon.yaml— Full CRUD workflow examplerun.sh— Execute the scenarios
# Run with default URL (http://localhost:8101)
./run.sh
# Run against a specific API
./run.sh http://localhost:3000
# Start mock server for self-contained testing
python3 mock_server.py &
./run.sh- Variables:
SET base_url,${base_url}interpolation - HTTP methods: GET, POST, PUT, DELETE
- Assertions: status code, JSON path, contains
- Capture: store response values for chaining