Upgrading from 3.6 to 3.7
Gatling 3.7 is not binary compatible with previous versions.
Any code compiled with a previous version must be recompiled in order to be executed with Gatling 3.7.
Changes listed below are only about source compatibility changes.
Core
- Gatling Expression Language with
${}was conflicting with Kotlin and Scala String interpolations. As a result, it’s now deprecated and we recommend you now use#{}instead. WhiteListandBlackListhave been renamed respectively intoAllowListandDenyList. Old names are still present but are deprecated for removal and are no longer documented.streamBodyrequest processor is probably unused and is deprecated for removalheavisideUsershas been renamed intostressPeakUsers. Old name is still present but is deprecated for removal and is no longer documented.feed(feeder, Int)is deprecated for removal and is no longer documented.Feeder#converthas been renamed intotransform. Old name is still present but is deprecated for removal and is no longer documented.flattenMapIntoAttributesis deprecated for removal and is no longer documented.SignatureCalculatorhas been dropped. Please use simple functions instead.
HTTP
pollinghas been renamed intopoll. Old name is still present but is deprecated for removal and is no longer documented.maxConnectionsPerHostLikeXXXare deprecated for removal. Please usemaxConnectionsPerHost(Int)instead.ignoreDefaultCheckshas been renamed intoignoreProtocolChecks. Old name is still present but is deprecated for removal and is no longer documented.ignoreDefaultHeadershas been renamed intoignoreProtocolHeaders. Old name is still present but is deprecated for removal and is no longer documented.- #4142: BREAKING CHANGE
ResponseProcessorparameters order has been reversed for consistency
JMS
- #4139: BREAKING CHANGE JMS
replyTimeoutis now a Duration
Maven
The new major version 4 of the gatling-maven-plugin no longer compiles Scala code itself.
In order to upgrade, you’ll have to add the scala-maven-plugin, as described in the documentation
Maven Archetype and Giter8 template
The gatling-maven-archetype and the g8 template are discontinued. Instead, please git clone the gatling-maven-plugin demo projects or the gatling-sbt-plugin demo project.