Gatling: simulation.log文件中所有字段的含义

9

除了在Gatling输出中的simulation.log文件开始和结束处接收到的四个长整型字节之外,我找不到其他文档。以下是日志中的样本行:

My scenario - Sync  7526052819726874465-2088    REQUEST     My Page 1404439715068   1404439715068   1404439716103   1404439716103   OK

这一切代表什么?我们应该在Gatling文档中有这些信息吗?
谢谢。
编辑------------------------------------------------------------------
我浏览了Gatling源代码,并找到了FileDataWriterSpec,其中测试了输出到simulation.log的内容。根据此规范,我们有一个RequestMessage对象,用作携带记录数据的对象。根据此类:
case class RequestMessage(
    scenario: String,
    userId: String,
    groupHierarchy: List[String],
    name: String,
    requestStartDate: Long,
    requestEndDate: Long,
    responseStartDate: Long,
    responseEndDate: Long,
    status: Status,
    message: Option[String],
    extraInfo: List[Any]) extends DataWriterMessage {
  def responseTime = responseEndDate - requestStartDate
}

以上必须是:

[场景][用户ID][[组层次结构][名称][第一个/最后一个字节发送时间戳][第一个/最后一个字节接收时间戳][状态]

有人能确认吗?组层次结构具体是什么?

3个回答

7

3

以下是2015年9月10日Gatling首席开发人员answer的引用:

simulation.log格式没有详细说明的原因是:它不是公共API,并且经常更改。


1

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接