Maven plugin and Graphite Configuration Issue

I’m unable to get results published to our Graphite server from the mvn task. I don’t think I’ve got it configured correctly and I’m a bit at my wits end as to why.

I’m not getting any error or anything, just nothing when I run mvn test. The test runs great. Fantastic tool!

Any help would be massively appreciated.

Thanks, Ryley

I’ve got this gatling.conf in src/test/resources

data {
writers = [console, file, graphite]
reader = file
}
graphite {
host = “graphite..com”
port = 2003
bucketWidth = 100
}

and this is my pom

<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">

	<modelVersion>4.0.0</modelVersion>

	<groupId>com.bloomhealthco</groupId>
	<artifactId>gatling_tests</artifactId>
	<version>0.1.0</version>
	<packaging>jar</packaging>

	<repositories>
		<repository>
			<id>excilys</id>
			<name>Excilys Repository</name>
			<url>http://repository.excilys.com/content/groups/public</url>
		</repository>
	</repositories>

	<pluginRepositories>
		<pluginRepository>
			<id>excilys</id>
			<name>Excilys Repository</name>
			<url>http://repository.excilys.com/content/groups/public</url>
		</pluginRepository>
	</pluginRepositories>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<gatling.version>1.4.2</gatling.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>com.excilys.ebi.gatling.highcharts</groupId>
			<artifactId>gatling-charts-highcharts</artifactId>
			<version>${gatling.version}</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>com.excilys.ebi.gatling</groupId>
				<artifactId>gatling-maven-plugin</artifactId>
				<version>${gatling.version}</version>
				<executions>
					<execution>
						<phase>test</phase>
						<goals>
							<goal>execute</goal>
						</goals>
						<configuration>

Hello,

Are you sure you don’t have any firewall issue with graphite.internalDomain.com:2003 ?

This simple command will sort this point quickly
echo “foo 123 $(date +%s)” | nc graphite.internalDomain 2003

I just did a test and everything seems working fine for me.

cheers
Nicolas

Ok, solved this… and the solution is a bit embarrassing.

My gatling.conf file was not wrapped with

gatling {

}

That’s what I get for cutting and pasting from the doc w/ little understanding.

Thanks for the attempt to help.
Ryley

No problem, I’m glad to hear that the issue is solved.
have a nice day
Nicolas