美文网首页
在windows上通过choco安装superbenchmark

在windows上通过choco安装superbenchmark

作者: 冬天里的懒喵 | 来源:发表于2021-08-10 14:34 被阅读0次

1.安装choco

在windows中用管理员身份运行Powershell,之后执行如下代码:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

运行过程如下图:


choco安装

这样choco就安装成功了。


查看版本信息

2.安装superbenchmarker

安装superbenchmarker

3.启动gateway

java -jar -Xmx512m -Xms512m gateway-server-0.0.1-SNAPSHOT.jar
启动gateway

4.执行superbenchmarker

sb -u http://localhost:8088/api/hello -c 20 -N 60
执行superbenchmarker 执行结果

相关文章

网友评论

      本文标题:在windows上通过choco安装superbenchmark

      本文链接:https://www.haomeiwen.com/subject/yegxbltx.html