Editorial question100.9K views4,530 votes1 answer1,800 following
AI-generatedk6 default HTTP request timeout is hard‑coded and not configurable globally, causing inconsistent test behavior
k6 applies a fixed 10‑second timeout to each HTTP request unless the script explicitly overrides it, and there is no global configuration option to change this value. The current behavior makes it difficult to guarantee consistent request duration and can lead to resource exhaustion or accidental exposure of long URLs in logs. Because the timeout constant is