2017-02-17 40 views
0

此前仿真日誌有4個長值(old gatling documentation):加特林 - 改變字段simulation.log

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行

那些只是值nb.1和nb.4從第一示例?
並在此定義https://github.com/gatling/gatling/blob/master/gatling-core/src/main/scala/io/gatling/core/stats/writer/LeakReporterDataWriter.scala#L67

回答

1

我在這裏間接發現了一個響應Gatling Executor for Taurus v1.9.5(消失了Gatling Executor for Taurus v1.9.6)。

默認情況下它使用加特林2.1.7因爲:

金牛座可與加特林2.2.0。但是,在Gatling 2.2.0中,無法提取延遲和連接時間等網絡統計信息,因爲Gatling將它們從報告數據中刪除。因此,Taurus默認安裝Gatling 2.1.7。

通過分析這些executor的代碼,有兩種數據extrator,一個用於gatling 2.1,另一個用於gatling 2.2