xk6-dhcp
A k6 extension DHCP
Build
To build a k6
binary with this plugin, first ensure you have the prerequisites:
Then:
- Install
xk6
:
go install go.k6.io/xk6/cmd/xk6@latest
- Build the binary:
xk6 build master \
--with github.com/mgazza/xk6-dhcp
Example
TODO
import dhcp from 'k6/x/dhcp';
const client = dhcp.new('eth0')
export default function () {
dhcp.discoverOffer(client,)
}