Define Websocket Subprotocols
Issue #177
closed
I need to do stress test on a OCPP (Open Charge Point Protocol) 1.5 or 1.6. OCPP enables Electrical Vehicles (EVs) to communicate with a central system. From the specification we need to define websocket subprotocols (either ocpp1.5 or ocpp1.6) in order to enabling communications between ws client and ws central system. I can do that using Javascript, but I don't see such way to do that (define subprotocols) with this library. Or am I missing something?
My attachment is error log from the OCPP Server.
Comments (4)
-
repo owner -
it works. Thank you.
-
repo owner - removed version
-
repo owner - changed status to closed
- Log in to comment
Just use standard JMeter Http Header Manager to add this header to the websocket connection request:
Sec-WebSocket-Protocol : ocpp1.6
Hth
Regards
Peter