sekuire test
Run comprehensive test suites against your agent to verify identity, policy compliance, endpoint health, and performance.
Usage
bash
sekuire test [SUITE] [OPTIONS]Options
| Option | Description |
|---|---|
--agent-url <URL> | Agent URL to test (default: http://localhost:8000) |
--fail-fast | Stop on first failure |
--timeout <SEC> | Per-test timeout in seconds (default: 30) |
--verbose | Show detailed test output |
--format <FMT> | Output format: text, json, junit (default: text) |
Test Suites
| Suite | Description | Tests |
|---|---|---|
| all | Run all suites (default) | All below |
| handshake | Identity verification protocol | Hello, auth, signature verify |
| policy | Policy compliance checks | Policy fetch, validate, enforce |
| endpoints | HTTP endpoint health | Status, readiness, liveness probes |
| performance | Latency and throughput | Response time, concurrent requests |
Examples
Run All Tests
bash
sekuire test --agent-url http://localhost:8000Specific Suite
Handshake tests onlybash
sekuire test handshake --agent-url http://localhost:8000CI Mode
JUnit output for CIbash
sekuire test --fail-fast --format junit > test-results.xmlPerformance Testing
bash
sekuire test performance --agent-url https://staging.example.com --verboseSample Output
text
$ sekuire test --agent-url http://localhost:8000
Handshake Suite
✓ GET /sekuire/hello returns agent card (12ms)
✓ POST /sekuire/auth validates signature (45ms)
✓ Identity matches registry entry (89ms)
Policy Suite
✓ Agent fetches workspace policy (23ms)
✓ Policy validation passes (15ms)
✓ Denied actions are blocked (34ms)
Endpoints Suite
✓ GET /health returns 200 (5ms)
✓ GET /ready returns 200 (4ms)
Performance Suite
✓ Average response time < 500ms (avg: 145ms)
✓ Handles 10 concurrent requests (all 200)
10 passing (227ms)💡Use
sekuire test in your CI pipeline to catch regressions before deployment.Next Steps
- push / verify - Verify agents in the registry
- Trust Triangle - The framework tests validate