Hi everyone,
I'm trying to run gatling on a proxy Jenkins server. But I'm getting the error message: Error: Could not find or load main class Family. Any ideas what could have cause this?
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven: -B -f C:\jenkinslave\workspace\gatling\pom.xml clean gatling:execute
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Gatling 1.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] <b>--- maven-clean-plugin:2.5:clean (default-clean) @ gatling ---
</b>[INFO] Deleting C:\jenkinslave\workspace\gatling\target
[INFO]
[INFO] <b>--- gatling-maven-plugin:2.1.7:execute (default-cli) @ gatling ---
</b>Error: Could not find or load main class Family
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.032 s
[INFO] Finished at: 2016-03-15T20:57:22-07:00
[INFO] Final Memory: 20M/114M
[INFO] ------------------------------------------------------------------------
How does your pom look?, have you set the correct config
And put your simulations under datafolder?
src/test/resources/data
I only have one simulation.
<project xmlns=“http://maven.apache.org/POM/4.0.0” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=“http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd”>
4.0.0
gatling
jar
Gatling
1.0.1-SNAPSHOT
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gatling.version>2.1.6</gatling.version>
<gatling-plugin.version>2.1.6</gatling-plugin.version>
<scala-maven-plugin.version>3.2.2</scala-maven-plugin.version>
io.gatling.highcharts
gatling-charts-highcharts
${gatling.version}
test
io.gatling
gatling-core
${gatling.version}
test
io.gatling
gatling-http
${gatling.version}
test
net.alchim31.maven
scala-maven-plugin
${scala-maven-plugin.version}
io.gatling
gatling-maven-plugin
${gatling-plugin.version}
getProcess
execute
com.gatling.simulation.CollabSimulation