gatling.conf is outdated

522 views
Skip to first unread message

Magnus Jensen

unread,
Oct 27, 2014, 11:39:23 AM10/27/14
to gat...@googlegroups.com
Trying to run my test after updating to 2.0.1 gives me this error:
 
 
16:33:49.064 [ERROR] i.g.c.c.GatlingConfiguration$ - Your gatling.conf file is outdated, some properties have been renamed or removed.
Please update (check gatling.conf in Gatling bundle, or gatling-default.conf in gatling-core jar).
Enabled obsolete properties:
'gatling.http.ahc.requestTimeoutInMs' was renamed into gatling.http.ahc.requestTimeout.
There is no simulation script. Please check that your scripts are in user-files/simulations
 
 
I have scripts in my IntelliJ project, but Gatling does not find them (There is no simulation script. Please check that your scripts are in user-files/simulations).
 
How can I tell gatling to look in the folder where my simulations are?
 
Obviously it looks in the bundle folder, but I want Gatling to lok here:
 
C:\onefolder\two-folder\gatling\src\test\scala\com\sas
 
But it looks in:
 
user-files/simulations
 
And how do I fix "Your gatling.conf file is outdated, some properties have been renamed or removed"
 
I am using IntelliJ and maven.
 
Magnus
 
 

Magnus Jensen

unread,
Oct 27, 2014, 11:41:05 AM10/27/14
to gat...@googlegroups.com
My POM:
 
 
 
 <repositories>
  <repository>
   <id>excilys</id>
   <name>Excilys Repository</name>
   <url>http://repository.excilys.com/content/groups/public</url>
   <releases>
    <updatePolicy>never</updatePolicy>
   </releases>
   <snapshots>
    <enabled>false</enabled>
   </snapshots>
  </repository>
 </repositories>
 <properties>
  <maven.compiler.source>1.6</maven.compiler.source>
  <maven.compiler.target>1.6</maven.compiler.target>
  <scala.version>2.10.4</scala.version>
  <encoding>UTF-8</encoding>
  <gatling.version>2.0.1</gatling.version>
  <gatling-highcharts.version>2.0.1</gatling-highcharts.version>
  <scala-maven-plugin.version>3.1.5</scala-maven-plugin.version>
 </properties>
 <dependencyManagement>
  <dependencies>
   <dependency>
    <groupId>io.gatling</groupId>
    <artifactId>gatling-app</artifactId>
    <version>${gatling.version}</version>
   </dependency>
   <dependency>
    <groupId>io.gatling</groupId>
    <artifactId>gatling-recorder</artifactId>
    <version>${gatling.version}</version>
   </dependency>
   <dependency>
    <groupId>io.gatling.highcharts</groupId>
    <artifactId>gatling-charts-highcharts</artifactId>
    <version>${gatling-highcharts.version}</version>
   </dependency>
   <dependency>
    <groupId>org.scala-lang</groupId>
    <artifactId>scala-library</artifactId>
    <version>${scala.version}</version>
   </dependency>
  </dependencies>
 </dependencyManagement>
 <dependencies>
  <dependency>
   <groupId>io.gatling.highcharts</groupId>
   <artifactId>gatling-charts-highcharts</artifactId>
  </dependency>
  <dependency>
   <groupId>io.gatling</groupId>
   <artifactId>gatling-app</artifactId>
  </dependency>
  <dependency>
   <groupId>io.gatling</groupId>
   <artifactId>gatling-recorder</artifactId>
  </dependency>
  <dependency>
   <groupId>org.scala-lang</groupId>
   <artifactId>scala-library</artifactId>
  </dependency>
 </dependencies>
 <build>
  <sourceDirectory>src/main/scala</sourceDirectory>
  <testSourceDirectory>src/test/scala</testSourceDirectory>
  <pluginManagement>
   <plugins>
    <plugin>
     <groupId>net.alchim31.maven</groupId>
     <artifactId>scala-maven-plugin</artifactId>
     <version>${scala-maven-plugin.version}</version>
    </plugin>
   </plugins>
  </pluginManagement>
  <plugins>
   <plugin>
    <groupId>net.alchim31.maven</groupId>
    <artifactId>scala-maven-plugin</artifactId>
    <executions>
     <execution>
      <goals>
       <goal>compile</goal>
       <goal>testCompile</goal>
      </goals>
      <configuration>
       <args>
        <arg>-target:jvm-1.6</arg>
        <arg>-deprecation</arg>
        <arg>-feature</arg>
        <arg>-unchecked</arg>
        <arg>-language:implicitConversions</arg>
        <arg>-language:postfixOps</arg>
       </args>
      </configuration>
     </execution>
    </executions>
   </plugin>
  </plugins>
 </build>
</project>

Magnus Jensen

unread,
Oct 27, 2014, 11:45:52 AM10/27/14
to gat...@googlegroups.com
Running maven clean install gives me error:
 
[ERROR] Plugin net.alchim31.maven:scala-maven-plugin:3.2.3 or one of its depende
ncies could not be resolved: Could not find artifact net.alchim31.maven:scala-ma
ven-plugin:jar:3.2.3 in central (https://repo.maven.apache.org/maven2) -> [Help
 
Any help?
 

On Monday, October 27, 2014 4:39:23 PM UTC+1, Magnus Jensen wrote:
Reply all
Reply to author
Forward
0 new messages