【问题标题】:Gatling - changed fields in simulation.logGatling - 在 Simulation.log 中更改了字段
【发布时间】:2017-10-11 14:19:46
【问题描述】:

以前的模拟日志有 4 个长值 (old gatling documentation):

1. first byte sent timestamp
2. last byte sent timestamp
3. first byte received timestamp
4. last byte received timestamp

计算结果:

response time (in ms) = 4 - 1
latency (in ms) = 3 - 2

目前我只看到两个值:

REQUEST场景1案例1487348824858 1487348825029 OK

这些只是第一个示例中的值 nb.1 和 nb.4?
并在这里定义https://github.com/gatling/gatling/blob/master/gatling-core/src/main/scala/io/gatling/core/stats/writer/LeakReporterDataWriter.scala#L67?

【问题讨论】:

    标签: gatling


    【解决方案1】:

    我在这里间接找到了回复Gatling Executor for Taurus v1.9.5(消失在Gatling Executor for Taurus v1.9.6)。

    默认情况下它使用 Gatling 2.1.7,因为:

    Taurus 可与 Gatling 2.2.0 配合使用。但是,在 Gatling 2.2.0 中,无法提取延迟和连接时间等网络统计数据,因为 Gatling 从报告数据中删除了它们。因此,Taurus 默认安装 Gatling 2.1.7。

    通过分析这个executor的代码,有两个数据提取器,一个用于gatling 2.1,另一个用于gatling 2.2。

    【讨论】:

      猜你喜欢
      • 2021-01-16
      • 2015-01-11
      • 2013-03-16
      • 2015-01-25
      • 2020-05-09
      • 1970-01-01
      • 2020-06-05
      • 2018-12-16
      • 1970-01-01
      相关资源
      最近更新 更多