Problem with Gatling certificate

I run Gatling recorder for site with selfsigned certificate. As I understood, I must accept also Gatling certificate for this site, but I didn’t get any message or alert about Gatling certificate, so I can’t accept it… When I try to login on my tested site (with proxy and Gatling recorder turned on) i can’t even go further than login_page…

When I run recorder, I get following:
GATLING_HOME is set to “C:\Workspace\Stress_Test_Gatling”
"C:\Program Files\Java\jdk1.6.0_43\bin"java -server -XX:+UseThreadPriorities -X
X:ThreadPriorityPolicy=42 -Xms512M -Xmx512M -Xmn100M -Xss1024k -XX:+HeapDumpOnOu
tOfMemoryError -XX:+AggressiveOpts -XX:+OptimizeStringConcat -XX:+UseFastAccesso
rMethods -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled
-XX:+CMSClassUnloadingEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX
:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -cp “C:\W
orkspace\Stress_Test_Gatling”\lib*;“C:\Workspace\Stress_Test_Gatling”\conf; com
.excilys.ebi.gatling.recorder.GatlingRecorder
12:09:37.549 [WARN ] c.e.e.g.r.h.h.BrowserHttpsRequestHandler - Trying to connec
t to https://testweb:443, make sure you’ve accepted the recorder certificate for t
his site
12:09:37.768 [ERROR] c.e.e.g.r.h.h.BrowserHttpsRequestHandler - Exception caught

java.io.IOException: An existing connection was forcibly closed by the remote ho
st
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[na:1.6.0_43]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25) ~[na:1.6.0
_43]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198) ~[na:1.6.0_43
]
at sun.nio.ch.IOUtil.read(IOUtil.java:166) ~[na:1.6.0_43]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:245) ~[na:1.
6.0_43]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:64)
~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(Abstract
NioWorker.java:107) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNi
oSelector.java:312) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioW
orker.java:88) ~[netty-3.6.3.Final.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
~[netty-3.6.3.Final.jar:na]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:895) [na:1.6.0_43]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:918) [na:1.6.0_43]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_43]

Does this help: https://github.com/excilys/gatling/wiki/Recorder#wiki-https

Yes, it helps. Thank You!

Glad to hear.
Have fun!