npx caliper benchmark run –caliper-workspace caliper-benchmarks –caliper-benchconfig benchmarks/samples/fisco-bcos/helloworld/config.yaml –caliper-networkconfig networks/fisco-bcos/4nodes1group/fisco-bcos.json user@ubuntu:~/benchmarks$ npx caliper benchmark run –helpcaliper benchmark run –caliper-workspace ~/myCaliperProject –caliper-benchconfig my-app-test-config.yaml –caliper-networkconfig my-sut-config.yamlOptions: –help Show help [boolean] -v, –version Show version number [boolean] –caliper-workspace Workspace directory that contains all configuration information [string] –caliper-benchconfig Path to the benchmark workload file that describes the test client(s), test rounds and monitor. [string] –caliper-networkconfig Path to the blockchain configuration file that contains information required to interact with the SUT [string]
–caliper-workspace:用于指定caliper-cli的工作目录,如果没有绑定工作目录,可以通过该选项动态指定工作目录;
?–caliper-benchconfig:用于指定测试配置文件,测试配置文件中包含测试的具体参数,如交易的发送方式、发送速率控制器类型、性能监视器类型等;
?–caliper-networkconfig:用于指定网络配置文件,网络配置文件中会指定Caliper与受测系统的连接方式及要部署测试的合约等。
?
https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/tutorial/stress_testing.html?highlight=便宜美国vpsdocker#docker-compose
71581590