CAPI E2E Integration Test

OIDC/BFF OPA Subscriptions API Keys Throttle MCP gRPC 42 Services Grafana Gateway Config
Alice (admin) Bob (manager) Charlie (viewer)
Not authenticated
Open (no auth required)
OPA-Protected (role-based)
Subscription Groups (JWT claim)
API Key + Per-Key Throttle
Global Throttle
MCP Tools (JSON-RPC 2.0)
Service Access Matrix
WebSocket Live Feed
Disconnected
Login and click Connect to start receiving WebSocket pings.
SSE Live Event Stream
Disconnected
Login and click Connect to start receiving SSE events.
MCP Gateway (JSON-RPC 2.0)
No session
Click Initialize to start an MCP session.
gRPC Gateway (HTTP/2 via CAPI)

CAPI proxies gRPC traffic on port 8384 using the x-capi-service header for routing. The BFF bridges browser requests to gRPC via Python's grpcio library.

Proto definition:
service Greeter {
  rpc SayHello (HelloRequest) returns (HelloReply);
}
message HelloRequest { string name = 1; }
message HelloReply   { string message = 1; }
Direct CLI test:
grpcurl -plaintext \
  -H "x-capi-service: greeter/dev" \
  -import-path demo-e2e/services -proto greeter.proto \
  -d '{"name": "CAPI"}' \
  localhost:8384 greeter.Greeter/SayHello
Click Call SayHello to test the gRPC gateway.
Load Test Configuration
0
200 OK
0
401 Unauth
0
403 Forbidden
0
429 Throttled
0
Errors
0
Avg ms

Upload File

Drop a file here or browse

Uploaded Files

Click Refresh to load files.

Request Log

Call services from the catalog or run a load test to see requests here.