gpt4 book ai didi

performance - 在没有交互选项的情况下运行 Gatling

转载 作者:行者123 更新时间:2023-12-02 06:59:16 28 4
gpt4 key购买 nike

当我运行 Gatling 时(性能测试工具),它总是给我一个交互式对话框来一次运行一个 Scala 模拟文件。有没有办法告诉 Gatling 以特定顺序运行所有文件?我确定一定有一个,但似乎没有找到一种方法来指定它。

最佳答案

运行

user@host $ ./bin/gatling.sh -h

返回

GATLING_HOME is set to /path/to/gatling
Usage: compiler [options]

-h, --help
-sf, --simulations-folder <value>

-bf, --binaries-folder <value>

-ccp, --compilerClasspath <value>

Usage: gatling [options]

-h, --help Show help (this message) and exit
-nr, --no-reports Runs simulation but does not generate reports
-m, --mute Runs in mute mode: doesn't ask for run description or simulation ID, uses defaults
-ro, --reports-only <directoryName>
Generates the reports for the simulation in <directoryName>
-df, --data-folder <directoryPath>
Uses <directoryPath> as the absolute path of the directory where feeders are stored
-rf, --results-folder <directoryPath>
Uses <directoryPath> as the absolute path of the directory where results are stored
-bdf, --bodies-folder <directoryPath>
Uses <directoryPath> as the absolute path of the directory where bodies are stored
-sf, --simulations-folder <directoryPath>
Uses <directoryPath> to discover simulations that could be run
-bf, --binaries-folder <directoryPath>
Uses <directoryPath> as the absolute path of the directory where Gatling should produce compiled binaries
-s, --simulation <className>
Runs <className> simulation
-on, --output-name <name>
Use <name> for the base name of the output directory
-rd, --run-description <description>
A short <description> of the run to include in the report

并运行

./bin/gatling.sh -s RecordedSimulation

以非交互模式运行测试

关于performance - 在没有交互选项的情况下运行 Gatling,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24965654/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com