Gatling report trends: add total duration

Hi,

I just open an issue about adding the total duration trend to gatling plugin: https://issues.jenkins-ci.org/browse/JENKINS-39476

This duration is visible in the top-right section of gatling html report page, but it is probably not store in the same format as other metrics.

I am new with gatling plugin development, but I could try to contribute if the feature is accepted, and if I got some tips about how to implements this.

What do you think about this feature?

In the issue, Cédric comment about using a jenkins plugin to track the build step duration, but I can’t find one (I just found a jenkins issue: https://issues.jenkins-ci.org/browse/JENKINS-24900).

Timestamper plugin (https://wiki.jenkins-ci.org/display/JENKINS/Timestamper) can help, but it won’t be easy.

Alternatively, I could try to send the duration by email, using the email-ext plugin, but then, I will have to create the chart manually, day by day.

Would love to hear about your opinion about this!

Hi,

Well, our opinion is that all our efforts toward deployment handling and reporting will go into our Enterprise product, FrontLine.
We’ll of course keep on fixing bugs, but won’t bring any new features in there.

Regards,

Ok, thanks for your answer, I understand.

So, could you just give us some tips or entry-points for anyone wanting to contribute to the plugin?

Hi,

The source code is hosted here: https://github.com/jenkinsci/gatling-plugin
You can check the Jenkins tutorial for plugin development: https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial
The page displayed is https://github.com/jenkinsci/gatling-plugin/blob/master/src/main/resources/io/gatling/jenkins/GatlingProjectAction/index.jelly, you’ll need to add the method to get the duration in the GatlingProjectAction class.

Cédric Cousseran

Hi,

The source code is hosted here: https://github.com/jenkinsci/gatling-plugin
You can check the Jenkins tutorial for plugin development: https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial
The page displayed is https://github.com/jenkinsci/gatling-plugin/blob/master/src/main/resources/io/gatling/jenkins/GatlingProjectAction/index.jelly, you’ll need to add the method to get the duration in the GatlingProjectAction class.

Ok, I see.

Thank you !

Hi Nicolas

I have a similar request - I would like to replace “Mean response time” with much more informative “50th percentile response time”.
If you are forking the plugin, I might be able to contribute (I am also new to the plugin development).

Cheers
Eugene