dat*_*ser 7 stress-testing gatling
我找不到除了4个long之外的任何文档,它们是关于Gatling输出中的simulation.log文件的开始和结束时收到的字节.以下是日志中的示例行:
My scenario - Sync 7526052819726874465-2088 REQUEST My Page 1404439715068 1404439715068 1404439716103 1404439716103 OK
Run Code Online (Sandbox Code Playgroud)
所有这一切代表什么?我们是否应该在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
}
Run Code Online (Sandbox Code Playgroud)
上面必须是:[scenario] [userId] [[groupHierarchy] [name] [第一个/最后一个字节发送的时间戳] [第一个/最后一个字节收到的时间戳] [status]
有人可以证实吗?什么是groupHierarchy?
缺少记录类型:
[scenario] [userId] [recordType] [groupHierarchy] [name] [first/last byte sent timestamp] [first/last byte received timestamp] [status] [extraInfo]
关于组,请参阅文档:https://github.com/excilys/gatling/wiki/Structure-Elements#group