Does XK6-TCP support sending encrypted binary packets?
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 and GitHub - deer-develop/xk6-tcp: A k6 extension for sending data to TCP port adds reading from the connection.
Hope this helps you
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~