Thanks
Stéphane . Parenthesis was missed during copy paste. As you suggested, have changed gatling version 3.5.0. So the andThen() method syntax is corrected.
While I am compiling getting the errors as given below. I also upgraded scala version to 2.13.4 and JDK 15.0.2. POM files have been attached for your reference.
Please let me know any other dependency or existing dependency need to correct.
scalac: error while loading GatlingRecorder, class file 'C:\Users\uvijayan\.m2\repository\io\gatling\gatling-recorder\3.5.0\gatling-recorder-3.5.0.jar(io/gatling/recorder/GatlingRecorder.class)' is broken
(class java.lang.RuntimeException/error reading Scala signature of GatlingRecorder.class: Scala signature GatlingRecorder has wrong version
expected: 5.0
found: 5.2 in GatlingRecorder.class)
scalac: error while loading package, class file 'C:\Users\uvijayan\.m2\repository\org\scala-lang\scala-library\2.13.4\scala-library-2.13.4.jar(scala/util/package.class)' is broken
(class java.lang.RuntimeException/error reading Scala signature of package.class: Scala signature package has wrong version
expected: 5.0
found: 5.2 in package.class)
Versions Reference
-------------------------------
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<scala-maven-plugin.version>4.4.0</scala-maven-plugin.version>
<scala.version>2.13.4</scala.version>
<scala-test.version>3.3.0-SNAP3</scala-test.version>
<scala-parser-combinator.version>2.11.0-M4</scala-parser-combinator.version>
<gatling.version>3.5.0</gatling.version>
<gatling-maven-plugin.version>3.1.1</gatling-maven-plugin.version>
</properties>
Regards,
Umeshwaran.V