WebSocket channel specificities

In NeoLoad, all WebSocket requests in a recording are represented by a single WebSocket channel. In addition to the normal parameters for a standard request, a WebSocket channel:

Multi-response channel

By definition, a WebSocket channel contains a number of server responses. The browser issues a single request and, in return, receives several updates. In the WebSocket channel advanced section, the Recorded response tab shows a list of all the responses received.

This list allows viewing all the responses received. When a response is selected, its content is displayed on the right. The search field allows searching for text contained in the responses. When the search text is entered, the response list is filtered to leave only those responses containing the searched-for text. Furthermore, each occurrence of the text is underlined; the next / previous buttons allow browsing the occurrences.

During playback, the variable extractors and assertions placed on this channel are executed for each response received.

Push message Container

For each framework that supports WebSocket, NeoLoad is able to separate the response messages sent by the server, thus allowing it to handle the actions to be carried out upon the arrival of each message.

For more information about handling Push messages, see Push messages.