Upgrading from 3.3 to 3.4
There’s a known issue with
headerRegex that forces you to force the parameter to a String
when using the predefined HTTP header names constants, eg header(HttpHeaderNames.ContentType.toString, "bar").
Sadly, this is something we’ll only be able to fix in Gatling 3.5.0.Gatling 3.4 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.4.
Changes listed below are only about source compatibility changes.
Core
- the Session based versions of
transformandtransformOptionwere renamed intotransformWithSessionandtransformOptionWithSession. xpathcheck’s namespaces are now aMap[String, String]instead of aList[(String, String)]- Configuration option in
gatling.configrelated to ssl, sockets, and netty were moved around in an effort to share amongst multiple protocol supports, eg MQTT (Gatling Enterprise).
HTTP
hostNameAliasesnow takes aMap[String, List[String]]instead of aMap[String, String]