[英]Is there a way I can get the Gatling "Report ID"?
當 Gatling 創建測試報告時,它將報告目錄命名為{{simulationId}}-{{someLongNumberId}}
(示例 - single_user_test-1507218111111
)
有沒有辦法在負載測試完成后獲得這個數字(可能在“之后”掛鈎中?)
我想這樣做的原因是創建路徑以在測試報告文件夾中獲取js/stats.json
文件並獲取minResponseTime, maxResponseTime, meanResponseTime
對象。
我是 Scala/gatling 的新手,歡迎使用有用的鏈接!
你說的數字是:
scala> System.currentTimeMillis
res1: Long = 1508321556008
標准輸出中打印的最后一句話是:
Reports generated in 0s.
Please open the following file: /Users/nicolas/Downloads/gatling-charts-highcharts-bundle-2.3.0/results/basicsimulation-1508321476222/index.html
你不能解析嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.