does gatling expose any api for metrics during the test run?

207 views
Skip to first unread message

enterprise.software.janitor

unread,
Oct 23, 2017, 8:24:53 AM10/23/17
to Gatling User Group
Hey Guys,

Does gatling expose metrics such as active/completed users, response time etc during every test run which is being output in console that we can plug into from within a simulation code? I'm thinking it does because it pushes those metrics to graphite if graphite is configured for the project.

What I'm looking to do is gather these metrics every 30 sec or 1 min when the test is running and push it to another datastore for database warehousing.  I'm am aware there is a simulation log file that can be parsed but doesn't seem ideal to parse this log file as test is running. 

Can anyone point me to the right direction?


Thanks!
-- ESJ

enterprise.software.janitor

unread,
Oct 24, 2017, 8:05:16 AM10/24/17
to Gatling User Group
Bump!

Stéphane LANDELLE

unread,
Oct 24, 2017, 9:01:03 AM10/24/17
to gat...@googlegroups.com
Hi,

In Gatling OSS, you only have the Graphite integration you already know of.

Then, FrontLine provides an API for exporting data and a Grafana datasource.

Cheers,

Stéphane Landelle
GatlingCorp CEO


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

enterprise.software.janitor

unread,
Oct 25, 2017, 2:36:42 PM10/25/17
to Gatling User Group
Ahhh my luck :/ :(

It would be awesome if we can tap into the existing metrics buffer with an interface while gatling test is running.  I'm not a scala expert but is this where it's being called to print output during test run?

https://github.com/gatling/gatling/blob/2.2/gatling-metrics/src/test/scala/io/gatling/metrics/types/RequestMetricsBufferSpec.scala


If it's a lot of work to add, it be great If you can point me to the right direction and I can try to dabble with it and see if I can add that and send you a PR. I'm sure it would be useful to others in the community as well. 

Thanks!
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.

Stéphane LANDELLE

unread,
Oct 25, 2017, 3:03:29 PM10/25/17
to gat...@googlegroups.com
Frankly, that won't happen: it would be having Gatling OSS (our freemium) compete with FrontLine (our way of making a living).
Integration with other systems and reporting features now fall into the FrontLine scope.
Load test engine and HTTP improvements, such as HTTP/2 planned for Gatling 3, fall into the Gatling OSS one.

I hope you'll understand.

Cheers,

Stéphane Landelle
GatlingCorp CEO


To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.

enterprise.software.janitor

unread,
Oct 26, 2017, 7:44:11 AM10/26/17
to Gatling User Group
Thanks for clarifying. It makes sense now. 
Reply all
Reply to author
Forward
0 new messages