Does XK6-TCP support sending encrypted binary packets?

Does XK6-TCP support sending encrypted binary packets?

Hi @sunnini.

xk6-tcp is community made extension, which might mean that it’s better to ask those question on it’s issues.

The extension looks kind of unmaintained as well and from the looks of it - it sends what you provide it, so if you encrypt it and then send it - it will send encrypted data.

There are also two forks of which GitHub - mvillmow89/xk6-tcp: A k6 extension for sending data to TCP port adds connectTLS which might be more what you want I guess :person_shrugging: and GitHub - deer-develop/xk6-tcp: A k6 extension for sending data to TCP port adds reading from the connection.

Hope this helps you

1 Like

There is no difference between the two forks in github example code. How should I decide which one to use?


Yeah, sometimes developers don’t document stuff. I’ve told you what is the difference, if you want documentation - please ask in the corresponding projects.

ok. i got it. Thanks mstoykov~