Gatling报告生成名称自定义

时间:2017-01-23 15:14:51

标签: scala testing gatling

我想自动更改由gatling生成的报告的名称。我没有找到暴露gatling行为的功能或库。有没有办法在没有一些黑客的情况下实现这一目标?

1 个答案:

答案 0 :(得分:0)

您可以更改保存gatling.conf文件结果的目录名称。

您可以查看以下配置:

directory {
      #data = user-files/data               # Folder where user's data (e.g. files used by Feeders) is located
      #bodies = user-files/bodies           # Folder where bodies are located
      #simulations = user-files/simulations # Folder where the bundle's simulations are located
      #reportsOnly = ""                     # If set, name of report folder to look for in order to generate its report
      #binaries = ""                        # If set, name of the folder where compiles classes are located: Defaults to GATLING_HOME/target.
      #results = results                    # Name of the folder where all reports folder are located
    }
  }