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. WhiteList
andBlackList
have been renamed respectively intoAllowList
andDenyList
. Old names are still present but are deprecated for removal and are no longer documented.streamBody
request processor is probably unused and is deprecated for removalheavisideUsers
has 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#convert
has been renamed intotransform
. Old name is still present but is deprecated for removal and is no longer documented.flattenMapIntoAttributes
is deprecated for removal and is no longer documented.SignatureCalculator
has been dropped. Please use simple functions instead.
HTTP
polling
has been renamed intopoll
. Old name is still present but is deprecated for removal and is no longer documented.maxConnectionsPerHostLikeXXX
are deprecated for removal. Please usemaxConnectionsPerHost(Int)
instead.ignoreDefaultChecks
has been renamed intoignoreProtocolChecks
. Old name is still present but is deprecated for removal and is no longer documented.ignoreDefaultHeaders
has been renamed intoignoreProtocolHeaders
. Old name is still present but is deprecated for removal and is no longer documented.- #4142: BREAKING CHANGE
ResponseProcessor
parameters order has been reversed for consistency
JMS
- #4139: BREAKING CHANGE JMS
replyTimeout
is 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.