Skip to content

possible wrong README for stress-test

according to README we need to build k6 module with command:

xk6 build v0.32.0 --with xk6-plugin-dtm="$(pwd)/xk6-plugin-dtm" --with github.com/hackfeed/xk6-tarantool

But I get error:

 go.mod:
        module declares its path as: github.com/WeCodingNow/xk6-tarantool
                but was required as: github.com/hackfeed/xk6-tarantool

Also currently in k6 scripts tnt connection looks like that:

tarantool.connect("localhost:3302", {"user": "user", "pass": "password"});

But it raises error:

ERRO[0000] GoError: could not convert localhost:3301 to []string
        at go.k6.io/k6/js/common.Bind.func1 (native)

So, solution is change string to []string:

tarantool.connect(["localhost:3302"], {"user": "user", "pass": "password"});
Edited by Asya Lomakina