Error with Gatling 1.2.0 when launch a simulation

170 views
Skip to first unread message

Ludovic Mercier

unread,
Jun 1, 2012, 8:04:45 AM6/1/12
to gat...@googlegroups.com
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

Stéphane Landelle

unread,
Jun 1, 2012, 8:11:50 AM6/1/12
to gat...@googlegroups.com
Hi Ludovic,

This is caused by the new warm up request:

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.m...@gmail.com>

Stéphane Landelle

unread,
Jun 1, 2012, 8:13:01 AM6/1/12
to gat...@googlegroups.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 <slan...@excilys.com>

Stéphane Landelle

unread,
Jun 1, 2012, 8:32:13 AM6/1/12
to gat...@googlegroups.com
I've completed the FAQ and fixed the issue:

Ludovic Mercier

unread,
Jun 1, 2012, 8:33:19 AM6/1/12
to gat...@googlegroups.com
This solution works fine, 

Thanks

Stéphane Landelle

unread,
Jun 1, 2012, 8:39:51 AM6/1/12
to gat...@googlegroups.com
You're welcome!
Thanks again for reporting.

2012/6/1 Ludovic Mercier <ludovic.m...@gmail.com>
Reply all
Reply to author
Forward
0 new messages