"Connection time out" in tutorial

419 views
Skip to first unread message

prune....@gmail.com

unread,
Mar 10, 2015, 6:46:15 PM3/10/15
to gat...@googlegroups.com
I'm in the basic tutorial at http://gatling.io/docs/2.1.4/quickstart.html
I can record just fine and then launch Gatling to play the recording.  However, every HTTP request elicits an error such as

java.net.ConnectException: Connection timed out: no further information: computer-database.herokuapp.com/54.243.167.174:80
The IP address changes appropriately with each change of page on the HerokuApp site.

What am I missing here?  The recorder is still properly configured for port 8000, self-signed certificate, et alia per the tutorial.

Thanks in advance ...

prune....@gmail.com

unread,
Mar 10, 2015, 7:36:23 PM3/10/15
to gat...@googlegroups.com
I've poked around more.  For one thing, the file BasicSimulation.scala is not getting updated.
Yes, I hit "Stop & Save" at the end of the recording session.
Yes, when I start, I get a warning that I am about to overwrite an existing simulation.  I choose "Yes" at this point.
There is no error message when I "Stop & Save", so I expect that the file gets saved as specified.  However, it still holds the original code.
So ... not only does my file not save, but the supplied recording session fails to function.
I've also tried changing the listening port to 80 (the port shown in the failing playback output), but that doesn't help, either.

Any ideas?

Stéphane LANDELLE

unread,
Mar 11, 2015, 4:54:06 AM3/11/15
to gat...@googlegroups.com
First, please provide the required information: https://groups.google.com/forum/#!forum/gatling

Then, do you have any log in the console? Are you sure you properly configured the recorder AND your browser? http://gatling.io/docs/2.1.4/http/recorder.html#listening-proxy-port

Stéphane Landelle
Lead developer


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

prune....@gmail.com

unread,
Mar 11, 2015, 9:05:50 PM3/11/15
to gat...@googlegroups.com

Thanks for the pointer.  I'm using 2.1.4 (in case anyone else cares).
Most of all, your pointer to the proxy info got me started; I eventually figured out ...
(1) [I'm behind a proxy server]  I had to enter one more item of local information (proxy server name) into the Network/Simulation area
(2) I needed to insert the proxy information into $GATLING_HOME/config/recorder.conf, under recorder.proxy.outgoing
(3) After this, I ran the downloaded BasicSimulation test twice; it again timed out the first time, but the second run went a beautifully as I'd hoped.

Thanks again for the support. I'm off to try a recording session.
Reply all
Reply to author
Forward
0 new messages