Does k6 support IPv6?

Hi, do you know if k6 supports IPv6?

Hi @TobiasV,

welcome to the forum, and thanks for this very important question!

Unfortunately, IPv6 is currently not tested in k6, and from my quick manual tests it seems there are some issues with supporting it.

As k6 is written in Go, which supports IPv6 natively, this should be transparently supported by k6 scripts. Yet there are some IPv4 assumptions in the current code which unfortunately break this support.

I created the issue #1537 so that we can prioritize and fix this, but it will likely come in a release after the upcoming v0.27.0 one, tentatively in v0.28.0. Feel free to follow the issue for updates.

Cheers,

Ivan

1 Like