A k6 extension for sending datagrams for udp protocol like the one for tcp
To build a k6
binary with this plugin, first ensure you have the prerequisites:
- Go toolchain
- Git
Then:
- Install
xk6
:
go install github.com/k6io/xk6/cmd/xk6@latest
- Build the binary:
xk6 build master \
--with github.com/pedrosaraiva/xk6-udp
- Execute k6:
./k6 run examples/udp.ts