[chat] If request send over a web socket and do not close it, then a load is created in the server
Opened this issue · 0 comments
crazyfairytale commented
If JMeter use and send request for chat:
wss://SERVER/codenjoy-contest/chat-ws?user=IDUSER&code=CODEUSER
{'command':'getAllRoom', 'data':{"afterId":null,"beforeId":null,"inclusive":false,"count":20,"room":"rNUMBERROOM"}}
and
{"command":"postRoom", "data":{"text":"test","room":"rNUMBERROOM"}}
Request create with 50 users every 5 seconds during 1200 seconds
- Requests are not processed after a while
- The server may stop responding
- Errors on the server
- Due to the high flow of the message, ticks are processed late
https://user-images.githubusercontent.com/86113110/191677553-68df006a-0fe2-4bda-9340-2db3bf0dfb06.mp4