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 am suggesting a new feature, not asking a question
Description
I am using the SocketIOUser class from locust_plugins
from locust_plugins.users.socketio import SocketIOUser
I defined the send function which calls self.send(query). But when checked the socketio.py file from the packages, the function searches for a regex pattern as follows:
# hoping this is a subscribe type message, try to detect name
m = re.search(r'(\d*)["([a-z]*)"', body)
Is there any way to use the socketio to test the websockets that use custom send message methods?
The text was updated successfully, but these errors were encountered:
Prerequisites
Description
I am using the SocketIOUser class from locust_plugins
from locust_plugins.users.socketio import SocketIOUser
I defined the send function which calls self.send(query). But when checked the socketio.py file from the packages, the function searches for a regex pattern as follows:
# hoping this is a subscribe type message, try to detect name
m = re.search(r'(\d*)["([a-z]*)"', body)
Is there any way to use the socketio to test the websockets that use custom send message methods?
The text was updated successfully, but these errors were encountered: