CMD 终端传递参数数组
CMD terminal pass array of args
我 运行 数组中的以下命令有效!
command: ["k6", "run", "/etc/config/load_test.js"]
现在当我添加
--compatibility-mode=base
我出错了,我这样试试
command: ["k6", "run", "--compatibility-mode", "base", "/etc/config/load_test.js"]
知道我做错了什么吗? https://k6.io/docs/testing-guides/running-large-tests#compatibility-mode=base
错误:接受一个参数接收 2
如果我像这样将它传递给终端就可以了
k6 run --compatibility-mode=base someplace/myscript.es5.js
但不确定如何将它放入 array
of args
我也试过了
command: ["k6", "run", "--compatibility-mode=base", "/etc/config/load_test.js"]
也不起作用...
你试过这个吗:
command: ["k6", "run", "--compatibility-mode=base", "/etc/config/load_test.js"]
我 运行 数组中的以下命令有效!
command: ["k6", "run", "/etc/config/load_test.js"]
现在当我添加
--compatibility-mode=base
我出错了,我这样试试
command: ["k6", "run", "--compatibility-mode", "base", "/etc/config/load_test.js"]
知道我做错了什么吗? https://k6.io/docs/testing-guides/running-large-tests#compatibility-mode=base
错误:接受一个参数接收 2
如果我像这样将它传递给终端就可以了
k6 run --compatibility-mode=base someplace/myscript.es5.js
但不确定如何将它放入 array
of args
我也试过了
command: ["k6", "run", "--compatibility-mode=base", "/etc/config/load_test.js"]
也不起作用...
你试过这个吗:
command: ["k6", "run", "--compatibility-mode=base", "/etc/config/load_test.js"]