WebSocket Client Message Operation

Applies to LoadComplete 4.97, last modified on May 20, 2019

The Client Message operation corresponds to a WebSocket client message that a web client application sends to the tested web server in your scenario. These operations are recorded. You cannot create them manually in the scenario editor. However, you can move these operations between pages in the recorded scenario.

For information on WebSocket support in LoadComplete, see Support for WebSocket Protocol (HTML5).

The Think time box at the top of the editor specifies the number of milliseconds to wait before sending the request.

The SLA edit box at the top of the editor specifies the maximum acceptable duration of the operation, in milliseconds. For WebSocket client messages, the duration is estimated as the time spent on sending the message.

The editor uses the following panels to display operation properties:

Panel Description
Message Header Standard and custom headers of the message.
Message Contents The message contents (if any).
Data Replacers A list of rules for replacing message contents with variables. You use this feature to insert needed data to your messages. For instance, to implement data-driven tests, you may replace recorded data with data loaded from a CSV file or Excel sheet.
Uses Data From A list of requests and WebSocket messages, whose data are used in the given message. LoadComplete extracts data to variables, so the panel displays variables as child items of the request or WebSocket message.

Information about the erroneous settings is displayed in the editor’s header area.

See Also

Support for WebSocket Protocol (HTML5)
WebSocket Connection Operation
WebSocket Server Message Operation
Operation Reference

Highlight search results