Error with Gatling 1.2.0 when launch a simulation

I got this stacktrace when i start a simulation with the latest version.

the simulation work perfectly with verison 1.1.6

Exception in thread “main” java.util.concurrent.ExecutionException: java.net.ConnectException: Connection timed out: no further information to http://gatling-tool.org/
at com.ning.http.client.providers.netty.NettyResponseFuture.abort(NettyResponseFuture.java:297)
at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:104)
at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:399)
at org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:390)
at org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:352)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:409)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:366)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:282)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: no further information to http://gatling-tool.org/
at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:100)
… 11 more
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:404)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:366)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:282)
… 3 more

Thanks by advance for any help,

Ludovic

Hi Ludovic,

This is caused by the new warm up request:
https://github.com/excilys/gatling/wiki/Changelog#wiki-1.2.0
https://github.com/excilys/gatling/wiki/HTTP#wiki-auto-warmup

You probably have this error because Gatling can’t access the internet (either because you don’t have a connection, or because you’re stressing an intranet application and you need to configure a proxy to reach outside).

I’ll be more specific in the doc and in the FAQ.

In your case, just add “.disableWarmUp” to your httpConfig.

Cheers,

Steph

2012/6/1 Ludovic Mercier <ludovic.mercier.lm@gmail.com>

Or you can change the warm up request url to one that’s reachable (such as your home page).
.warmUp(“newUrl”)

2012/6/1 Stéphane Landelle <slandelle@excilys.com>

I’ve completed the FAQ and fixed the issue:
https://github.com/excilys/gatling/wiki/FAQ#wiki-warmup

https://github.com/excilys/gatling/issues/537

Thanks for reporting!

Cheers,

Steph

2012/6/1 Stéphane Landelle <slandelle@excilys.com>

This solution works fine,

Thanks

You’re welcome!
Thanks again for reporting.

2012/6/1 Ludovic Mercier <ludovic.mercier.lm@gmail.com>