Params is an object used by the WebSocket methods that generate WebSocket requests. Params contains request-specific options like headers that should be inserted into the request.
|Params.headers||object||Object with key-value pairs representing custom headers the user would like to add to the request.|
|Params.tags||object||Key-value pairs where the keys are names of tags and the values are tag values. Response time metrics generated as a result of the request will have these tags added to them, allowing the user to filter out those results specifically, when looking at results data.|
A k6 script that will make a WebSocket request with a custom header and tag results data with a specific tag