WebSocket is an async protocol, which can be used for real-time communication. Websocket updates are sent immediately when they are available, while in HTTP(S) you have to constantly request updates.
Websocket scanning is only available with pre-recorded HAR file. See Scanning with a HAR to learn more about this type of scanning.
To make sure the system will define the connection between a outgoing-incoming frame pairs, a unique identifier is used. The request identifier field ("correlationId") is generated during the scan for this purpose.
To extract the correct payload object, such as JSON, out of WebSocket frames that may contain some auxiliary service data (such as prefix, suffix, etc.) pattern is used. The regex pattern must be specific to extract the actual payload object.
Updated 9 months ago