Gatling’s Jenkins plugin shows how the mean, the 95th percentile, and the % of KO requests changes between runs. What would I have to change to display per HTTP request metrics (see mockup below).
Looking at the source on github, GatlingProjectAction.java seems like a good starting point. It implements the get{Dashboard,MeanResponseTimeGraph,PercentileResponseTime}Graph methods. I am not sure though where those are called from and how I could add more data points into a given Graph.
-
How can I access the per-HTTP call metrics? I found that RequestReport contains Statistics instances. But each of those only contains 3 long values. SimulationReport.java seems to parse only global_stats.json. Do I have to parse another .json file to extract this data?
-
How would I hook up a new method in GatlingProjectAction like Graph<List> getGraph() with the rendering code? Which additional steps are needed to get a new graph showing up?
Thanks,
Ingo