Migrate removed Gatling Scala DSL methods
MSALRename the Gatling Scala DSL methods that were deprecated in 3.x and removed in 3.11 and 3.12: heavisideUsers to stressPeakUsers, WhiteList and BlackList to AllowList and DenyList, polling to poll, ignoreDefaultChecks and ignoreDefaultHeaders to ignoreProtocolChecks and ignoreProtocolHeaders, stopInjector to stopLoadGenerator and the maxConnectionsPerHostLikeXXX browser presets to maxConnectionsPerHost(n). Also rename feeder convert to transform, and the check transform and transformOption taking the Session to transformWithSession and transformOptionWithSession, as done in 3.4. Methods are matched by name in sources using Gatling, as their declaring types changed between versions, skipping those attributed to types outside Gatling, such as the source's own and the Scala library's.
org. openrewrite. java. testing. gatling. MigrateGatlingScalaDslmod run . --recipe= org. openrewrite. java. testing. gatling. MigrateGatlingScalaDslInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.