Api Latency Benchmark (api-latency-benchmark)
Summary
Repeated requests with percentile latency stats.
Classification
- Category:
API_HEALTH - Plugin id:
api-latency-benchmark - Version:
1.1.0 - Target types:
API - Weight class:
LIGHT - Risk level: not set on plugin object
- Browser required: No (HTTP / Node / other — see source)
- Tier / group: Tier 4 — API
Schedule
- scheduleHints:
{ defaultInterval: '0 */6 * * *', priority: 6 } - Prerequisites: None declared on this plugin.
Configurable inputs
Public keys are derived from inputSchema: z.object({ ... }) (underscore-prefixed keys are runtime-only and omitted here).
| Field | Notes |
|---|---|
url |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
method |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
headers |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
requests |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
warnP95Ms |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
criticalP95Ms |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
timeout |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
Runtime / injected config
- None documented beyond standard worker context (
target,config,logger,reportProgress). Underscore-prefixed keys are internal.
What it does
- Runs as part of the worker test execution pipeline; results become
Runrows and may createFindingrecords. - Repeated requests with percentile latency stats.
- For finding titles, metrics, and artifacts specific to this plugin, refer to the implementation linked below.
Source
packages/test-plugins/src/plugins/api-latency-benchmark.ts