You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've discovered this keyword wait, that seems to be the only wait to get:
websocket.messages_sent: ....................................................... 2
websocket.send_rate: ........................................................... 1/sec
but it does not appear documented anywhere. Can someone provide insight into it? To provide greater context, I came across while trying to listen to an open socket that is sending messages triggered elsewhere. Here is the scenario:
scenarios:
- name: Capture WS message
engine: ws # Enable the Websocket engine
flow:
- connect: '{{ target }}/{{ userKey }}&sessionId={{ userSessionId }}&officeKey={{ officeKey }}'
- log: 'Connected to WebSocket'
- think: 1
- log: "Waiting for message..."
- wait: 10 # Wait for up to 10 seconds for the message
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've discovered this keyword wait, that seems to be the only wait to get:
websocket.messages_sent: ....................................................... 2
websocket.send_rate: ........................................................... 1/sec
but it does not appear documented anywhere. Can someone provide insight into it? To provide greater context, I came across while trying to listen to an open socket that is sending messages triggered elsewhere. Here is the scenario:
scenarios:
- name: Capture WS message
engine: ws # Enable the Websocket engine
flow:
- connect: '{{ target }}/{{ userKey }}&sessionId={{ userSessionId }}&officeKey={{ officeKey }}'
- log: 'Connected to WebSocket'
- think: 1
- log: "Waiting for message..."
- wait: 10 # Wait for up to 10 seconds for the message
Beta Was this translation helpful? Give feedback.
All reactions