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/126.96.36.199: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 …
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.
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
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.