0

Gatling (성능 테스트 도구)을 실행하면 대화 형 대화 상자가 표시되어 한 번에 하나의 스칼라 시뮬레이션 파일을 실행할 수 있습니다. Gatling에게 모든 파일을 특정 순서로 실행하도록 지시하는 방법이 있습니까? 나는 반드시 있어야한다고 확신하지만 그것을 지정하는 방법을 찾지 않는 것처럼 보입니다.대화 형 옵션없이 실행 중

답변

4

실제로는 appropriate option (사용하는 개틀링 버전에 따라 -s 또는 -sc)으로 시뮬레이션을 수행하면됩니다.

0

실행

[email protected] $ ./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 

실행은 NOINTERACTIVE 모드에서 테스트를 실행

관련 문제