Hi Gatling Community Team,
I need to check the log for performance execution on cursor based pagination scripts in jenkins.
but the build.gradle always shows error with log parameters such as at logHttp & logLevel
plugins {
id("scala")
id("io.gatling.gradle") version "3.9.0"
}
gatling {
logHttp = io.gatling.gradle.LogHttp.FAILURES
logLevel = "WARN"
}
repositories {
maven {
url = uri("https://repo1.maven.org/maven2/")
}
}
Error message :
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
Please help me solve this issue
Hi @RudraGanesh,
What is your version of gradle?
What is your version and vendor of the JVM?
Which command does produce such error?
And I think you should have logHttp = 'FAILURES'.
Cheers!
Hi @sbrevet ,
thanks for responding
please find the below details
Gradle : 7.5
Kotlin: 1.6.21
Groovy: 3.0.10
JVM: 11.0.12 (Azul Systems, Inc. 11.0.12+7-LTS).
error is not triggered by any command but its notified by IntelliJ as error and during execution there is no log generated for http failures.
I tried with logHttp = ‘FAILURES’ but i get below error
Type mismatch.
Required:LogHttp!
Found:String
Old Gradle Kotlin DSL (would have helped to mention you were using this) compatibility issue.
Please upgrade your plugin version (the latest one as of now is 3.9.0.3).
What you are doing is nonsense.
You have the issue mentioned in this thread’s title because you are using an outdated version of the gatling gradle plugin, which I told you to upgrade.
And now you’re trying to use the bundle instead and use a version that doesn’t exist?!