Getting simulation result in after block simulation

30 views
Skip to first unread message

Mathieu Roger

unread,
Aug 23, 2016, 12:14:03 PM8/23/16
to Gatling User Group
Hello!

In order to store and compare data between simulation, I want to retrieve statistics information after the simulation run. (first orange block in report)

I want to do that (if possible) in the after{...}  simulation hook.

If I understand the code I have to :


val logFileReader = new LogFileReader(blabla)
val total = logFileReader.requestGeneralStats(requestName, group, None)

But I have many questions :

  •  How can I retrive the runId in the after hook in order to give him to LogFileReader ?
  •  This process parse the simulation.log file, in the after block is he fully written?
  •  Is there any better method to achieve my needs?


Many thanks!



 

Stéphane LANDELLE

unread,
Aug 23, 2016, 3:31:53 PM8/23/16
to gat...@googlegroups.com
  •  Is there any better method to achieve my needs?
Reply all
Reply to author
Forward
0 new messages