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’m working on an application where we have a host and users. Both sides communicate through WebSockets. What users see depends on the host and what the host does in the UI.
I wrote a test that uses Artillery’s loop to listen for incoming messages and send appropriate responses back.
My question is: how can I set a global timeout for this test so that the process stops after, say, 5 minutes?
The problem is that my loop is infinite — and it has to be, because the test needs to react to all potential messages it might receive.
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋
I’m working on an application where we have a host and users. Both sides communicate through WebSockets. What users see depends on the host and what the host does in the UI.
I wrote a test that uses Artillery’s loop to listen for incoming messages and send appropriate responses back.
My question is: how can I set a global timeout for this test so that the process stops after, say, 5 minutes?
The problem is that my loop is infinite — and it has to be, because the test needs to react to all potential messages it might receive.
Beta Was this translation helpful? Give feedback.
All reactions