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

OptionDescription
--agent-url <URL>Agent URL to test (default: http://localhost:8000)
--fail-fastStop on first failure
--timeout <SEC>Per-test timeout in seconds (default: 30)
--verboseShow detailed test output
--format <FMT>Output format: text, json, junit (default: text)

Test Suites

SuiteDescriptionTests
allRun all suites (default)All below
handshakeIdentity verification protocolHello, auth, signature verify
policyPolicy compliance checksPolicy fetch, validate, enforce
endpointsHTTP endpoint healthStatus, readiness, liveness probes
performanceLatency and throughputResponse time, concurrent requests

Examples

Run All Tests

bash
sekuire test --agent-url http://localhost:8000

Specific Suite

Handshake tests onlybash
sekuire test handshake --agent-url http://localhost:8000

CI Mode

JUnit output for CIbash
sekuire test --fail-fast --format junit > test-results.xml

Performance Testing

bash
sekuire test performance --agent-url https://staging.example.com --verbose

Sample 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