This extension provides TCP socket functionality for k6 performance testing scripts,
offering both synchronous and asynchronous APIs for network communication.
Supports event-driven programming with lifecycle events (connect, data, close, error, timeout),
TLS/SSL encryption, binary data handling, and comprehensive metrics collection.
TCP Protocol Extension for k6
This extension provides TCP socket functionality for k6 performance testing scripts, offering both synchronous and asynchronous APIs for network communication.
Supports event-driven programming with lifecycle events (connect, data, close, error, timeout), TLS/SSL encryption, binary data handling, and comprehensive metrics collection.
Example