Example with WS client https://dwst.github.io/
- Start application in debug mode in IntelliJ :
MainClass : io.vertx.core.Launcher
Program arguments : run ws.reproducer.GatewayVerticle
-
Go to https://dwst.github.io/
-
Connect with command :
/connect ws://localhost:8080/MyServer/websocket
-
Wait 7 seconds
-
With Vert.x 3.8.5, the end handler is called and you should see the message in console : "Session {idSession} is closed.". With Vert.x 3.9.0 and higher, the end handler is not called.
-
Start reproducer as explained in first example
-
Run Gatling from IntelliJ by starting io.gatling.app.Gatling.Engine
-
Click on 'Enter' in console to run the Gatling simulation
-
Gatling sends a WS request to reproducer and close connection without sending WS close message
-
With Vert.x 3.8.5, the end handler is called and you should see the message in console : "Session {idSession} is closed.". With Vert.x 3.9.0 and higher, the end handler is not called.