Error with Graphite: "Actor GraphiteDataWriter doesn't support message RequestRecord"

Hi,

I’m testing graphite output for my tests with version 1.4.2. I changed the gatling.conf with these parameters:

data {
writers = [console, file,graphite]
reader = file
}
graphite {
host = "mygraphiteserver"
port = 2003
bucketWidth = 100
}

When I run the test, I have this error for each request :

[ERROR] [01/28/2013 14:05:29.820] [GatlingSystem-akka.actor.default-dispatcher-6] [akka://GatlingSystem/user/$B] Actor GraphiteDataWriter doesn’t support message RequestRecord(Full text,1,full text long,1359378329775,1359378329776,1359378329817,1359378329817,OK,None,List(http://myserver:4360/myApp/fulltextsearch?country=FR&language=fr&searchTerm=aTerm ))
java.lang.IllegalArgumentException: Actor GraphiteDataWriter doesn’t support message RequestRecord(Full text,1,full text long,1359378329775,1359378329776,1359378329817,1359378329817,OK,None,List(http://myserver:4360/myApp/fulltextsearch?country=FR&language=fr&searchTerm=aTerm ))
at com.excilys.ebi.gatling.core.action.BaseActor$class.unhandled(BaseActor.scala:33)
at com.excilys.ebi.gatling.metrics.GraphiteDataWriter.unhandled(GraphiteDataWriter.scala:38)
at akka.actor.Actor$class.apply(Actor.scala:318)
at com.excilys.ebi.gatling.metrics.GraphiteDataWriter.apply(GraphiteDataWriter.scala:38)
at akka.actor.ActorCell.invoke(ActorCell.scala:626)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197)
at akka.dispatch.Mailbox.run(Mailbox.scala:179)
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516)
at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259)
at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479)
at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

I don’t see where I’m wrong. Thank you for your help.

Hi,

There is nothing wrong with your configuration.
If you got this stacktrace, it means there was a problem when GraphiteDataWriter tried to connect to your Graphite server : Graphite not started, incorrect host/port…
You should check the first error you got when running your simulation, it should lead you to the cause of connection error.

Cheers,

Pierre

thank you a lot!

My carbon server was done (but not the webapp).

With this error message, I wrongly suspected a naming convention problem.

Guillaume