Click here to Skip to main content
15,880,543 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I upgraded gatling version from 3.7.6 to 3.9.0
I updated the version in the build.gradle.kts file
Scala
plugins {
id("scala")
id("io.gatling.gradle") version "3.9.0"
}
gatling {
logHttp = io.gatling.gradle.LogHttp.FAILURES
logLevel = "WARN"
}
tasks.register("prepareTests") {
dependsOn("gatlingEnterprisePackage")
from("bzt")
from("$buildDir/libs") {
include("${project.name}-tests.jar")
}
into("$buildDir/bzt")
}
repositories {
maven {
url = uri("Central Repository: 1")
}
}
dependencies {
gatling("com.typesafe.play:play-json_2.13:2.10.0-RC7")
}

but soon after that when I executed the build I am getting below error
14:23:56 INFO: Downloading: https://repo1.maven.org/maven2/io/gatling/highcharts/gatling-charts-highcharts-bundle/3.9.0/gatling-charts-highcharts-bundle-3.9.0-bundle.zip
100% [===========================================================================================================================================================================================] Time: 0:00:18
14:24:14 INFO: Unzipping /tmp/tmpcol8v6jb.zip
14:24:15 INFO: Installed Gatling successfully
14:24:19 ERROR: Child Process Error: Can’t modify gatling launcher for jar usage, ability isn’t supported
14:24:19 INFO: Post-processing…
14:24:19 INFO: Artifacts dir: /tmp/artifacts
14:24:19 WARNING: Done performing with code: 1


What I have tried:

Please help me solve this issue

because 3.7.6 is throwing error on logging failures

Cannot access 'io.gatling.gradle.JvmConfigurable.Trait.FieldHelper'
which is a supertype of 'io.gatling.gradle.GatlingPluginExtension'.
Check your module classpath for missing or conflicting dependencies
Posted
Updated 1-Feb-23 5:58am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900