Need help upgrading gatling to 3.11 associated with gatling - Scala build tool maven

Need help to find gatling-scala with build tool maven bundle to upgrade to 3.11.

Hi @HarithaVadde,

Welcome aboard!

You can find our demo for maven with scala on GitHub.

I guess you will have to check your pom.xml file in order to upgrade.

If you need more help, please explain what you have, what you tried. In another words: help us to help you!

Cheers!

Hi
In previous version i was able to execute gatling with arguments like : -rm local -s ${simulation_name} …
How to do it now with the new version cmd ./mvnw gatling:test ?
Also when i execute the cmd : ./mvnw gatling:test on linux env I got the error :
can’t open /opt/gatling/.mvn/wrapper/maven-wrapper.properties: no such file
/opt/gatling/.mvn/wrapper/maven-wrapper.jar: No such file or directory
./mvnw: line 259: can’t open /opt/gatling/.mvn/wrapper/maven-wrapper.properties: no such file
Error: Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain
Caused by: java.lang.ClassNotFoundException: org.apache.maven.wrapper.MavenWrapperMain

Thanks in advance for your help ,

Hi @sbrevet
When am trying to run my tests facing mvn error even I updated my maven version to 3.9.8.

Hi @HarithaVadde,

I don’t understand what is the link with Gatling?

You are calling compile (a standard maven phase) that need maven-compiler-plugin (a standard maven plugin)

I updated my maven version to 3.9.8

How? Can you show us the result of the mvn --version?

What command do you launch?

Cheers!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.