UNPKG

@n8n/n8n-benchmark

Version:

Cli for running benchmark tests for n8n

19 lines (18 loc) 566 B
import type { Scenario } from '../types/scenario'; export type K6ExecutorOpts = { k6ExecutablePath: string; k6ApiToken?: string; n8nApiBaseUrl: string; }; export type K6RunOpts = { scenarioRunName: string; }; export declare class K6Executor { private readonly opts; private readonly handleSummaryScript; constructor(opts: K6ExecutorOpts); executeTestScenario(scenario: Scenario, { scenarioRunName }: K6RunOpts): Promise<void>; private augmentSummaryScript; private loadEndOfTestSummary; private resolveK6ExecutablePath; }