如何为模拟的每一步获取单独的加特林报告?

问题描述 投票:0回答:1

我进行了提升测试,每次在加特林都会增加用户数量。 对于用户的注射,我使用这些方法:

setUp(
Test.inject(incrementConcurrentUsers(1) 
  .times(4)
  .eachLevelLasting(20)
  .separatedByRampsLasting(1)
  .startingFrom(4)
))

I need to have 4 additional reports for every user's change during a specific time for one simulation.
Is there any way to generate a separate report for every level with the user's change?

gatling scala-gatling
1个回答
1
投票

加特林本身没有这样的功能。 尽管如此,您可以获取您的simulation.log并通过bash和awk对其进行处理,以生成每个级别的simulation.log,然后通过https://github.com/nuxeo/gadling-report

创建报告
© www.soinside.com 2019 - 2024. All rights reserved.