我一直在运行 Gatling 测试,结果文件夹中有一大堆报告。例如,我有一个每秒 200 个请求的报告和一个每秒 400 个请求的报告。
无论如何,是否可以将报告相互比较?
目前只有Jenkins 插件。
这是我们计划作为商业报价提供的东西。
Gatling 本身提供了名为Gatling Frontline的企业版,它确实支持趋势和历史运行。
另一种可能性是使用您的simulation.log
并使用nuxeo gatling-report实用程序处理它们,如下所示:
# check https://maven-eu.nuxeo.org/nexus/#nexus-search;quick~gatling-report for latest version, or build from source
wget 'https://maven-eu.nuxeo.org/nexus/service/local/repositories/public-releases/content/org/nuxeo/tools/gatling-report/4.0/gatling-report-4.0-capsule-fat.jar'
# do not create outputReportDirectory !
java -jar gatling-report-4.0-capsule-fat.jar results/complexscenario-20200618125705159/simulation.log results/complexscenario-20200617130307094/simulation.log -o outputReportDirectory
如果您打算在 maven 构建期间生成趋势,您可以查看DennisRippinger gatling-reporter maven plugin,它封装了前面提到的项目。