HostClient 不能遵循重定向到不同的协议,请改用 Client - 15000

HostClient can't follow redirects to a different protocol, please use Client instead - 15000

我正在使用 bombardier 进行 asp.net 核心网络 api 性能测试。 https://github.com/codesenberg/bombardier

对于 http 它工作正常并给出所有结果,

bombardier -c 128 -d 30s -l --rate 500 http://localhost:5000/

当我尝试为 https (s) 做时,它抛出错误,

HostClient can't follow redirects to a different protocol, please use Client instead - 15000

我可以使用 https 吗?任何其他提供延迟统计信息、req/res 每秒、延迟分布等的工具?

在命令中使用 --http1 或 --http2 标志

bombardier -c 128 -d 30s -l --rate 500 <https_url> --http1
bombardier -c 128 -d 30s -l --rate 500 <https_url> --http2