Post simulation metrics (programmatic)


I am wondering how to access metrics programmatically after running a Gatling simulation?

I can see references to FailedCounts etc. in th Scaladoc but it is not obvious how to access them outside Assertions.$

I know there are assertions etc. - but I actually want to programmatically get these counts after the simulation is run.

The reason is that I want to audit against a database that is deeper down in the processing pipeline.
So say I make 1 million requests and there are 10 KOs due to gateway timeout I should have 1 million - 10 in the downstream DB.

Any ideas? Code snippets welcome :slight_smile:

Thanks for any help!