Load Testing · Middle · Question 32 of 76
What does k6 do with HTTP connections by default?
- 1Reuses them per VU with keep-alive, like a browser
- 2Shares one connection among all VUs in the test
- 3Opens a new TCP and TLS connection for every request
Show the answer
Correct answer: Reuses them per VU with keep-alive, like a browser
Explanation
Connection reuse is realistic for most clients. noConnectionReuse forces new connections, which tests TLS handshake cost and connection limits.