Problem with Gatling Jenkins Plugin and Gatling 2.1


after a successful migration to gatling version 2.1.1 I’ll get the following exception in my jenkins job(s):

ERROR: Publisher com.excilys.ebi.gatling.jenkins.GatlingPublisher aborted due to exception
[com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException]( Unrecognized field "percentiles3" (class com.excilys.ebi.gatling.jenkins.RequestReport), not marked as ignorable (13 known properties: , "minResponseTime", "numberOfRequests", "standardDeviation", "meanNumberOfRequestsPerSecond", "name", "maxResponseTime", "group1", "meanResponseTime", "group2", "group3", "group4" [truncated]])
 at [Source: /var/lib/jenkins/jobs/qaPerformance-Gatling-OX6/builds/2014-12-16_16-48-35/simulations/QAPerfOX6-7.6.1-Rev5-1418744988514/js/global_stats.json; line: 38, column: 22] (through reference chain: com.excilys.ebi.gatling.jenkins.RequestReport["percentiles3"])
	at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(
	at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(
	at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(
	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(
	at com.excilys.ebi.gatling.jenkins.SimulationReport.readStatsFile(
	at com.excilys.ebi.gatling.jenkins.GatlingPublisher.saveFullReports(
	at com.excilys.ebi.gatling.jenkins.GatlingPublisher.perform(
	at hudson.tasks.BuildStepMonitor$3.perform(
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(
	at hudson.model.Build$BuildExecution.post2(
	at hudson.model.AbstractBuild$
	at hudson.model.Run.execute(
	at hudson.model.ResourceController.execute(

Each build is marked as failed -> Finished: FAILURE

We'are using Gatling jenkins plugin 1.0.3


Ah, it looks like a side-effect of adding the two additional percentiles to Gatling reports, but without updating the Jenkins plugin as well…
I can push a quick fix this evening to make it work again, adding the two additional percentiles to the reports will take a bit more time though.

This pull requests solves this new percentiles issue. Also included graphing for multiconfiguration jobs.

@Pierre: I also stumbled accross this problem. When do you think you’ll have a new version of the plugin in the official jenkkins repository?

It might be a good idea to set the JSON parser to ignore unknown new attributes instead of throwing an exception. This can be done using ObjectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)

@Christian I’ve already pushed a fix but it needs proper testing:

Feel free to give it a try!


I compiled the plugin and tested it on our Jenkins. The test was only partially successful. The reports can now be archived but the graphs are missing.
See here:
and here:

Thanks for your feedback.
I guess a proper fix will have to wait for Monday…


I’m, also facing the same issue :frowning:


Little question to be sure that I’m on right track here :wink:
Does this happen only for pre-existing jobs or for new jobs also ?



Hi, I didn’t actually try that. The job I modified (added the plugin to) existed before. But that used to work in the past (I think I also added the old version of the plugin to an existing job and it started showing the statistics).
What I did do was to run the job a few times so the plugin could collect statistics (which it did according to the log).

Please upgrade to the new version of the Gatling maven plugin we’ve released today (1.1.0).
The synchronization process seems to be happening only very 6 hours or so, so please be patient.

Gonna do this as soon as I get back to work

Awesome, it works now. Thanks a lot :slight_smile: