UNPKG

k6-node

Version:

CLI tool that enables k6 installation via npm packages

17 lines (16 loc) 542 B
import { K6TestBuilder } from '../builders/k6-builder'; import { Step } from '../types/request-types'; import { Stage, Threshold } from '../types/test-types'; /** * Create a stress test for k6 * Stress tests in k6 push systems beyond normal operational capacity * * @param config - Configuration with stress test parameters * @returns Configured K6TestBuilder instance */ export declare function createK6StressTest(config: { stages: Stage[]; steps: Step[]; thresholds?: Threshold; imports?: string[]; }): K6TestBuilder;