文章目录 install and runscript.jsoptions最佳实践 report 解析 https://grafana.com/docs/k6/latest/get-started install and run
install
# mac
brew install k6当前目录下生成压测脚本
# create file script.js
k6 new [filename] # create file ‘script.js’ in …
报错
bash: ifconfig: command not found 原因
Debian 上默认不安装 ifconfig 软件包。这是因为 ifconfig 已被弃用,取而代之的是新的 ip 命令。该 ip 命令现在负责修改或显示路由、网络设备、接口和隧道
如果仍然想使用旧的 ifconfig 命令,则必须显式…