Skip to content
Snippets Groups Projects
Commit a588ab0f authored by Jonas Halbeisen's avatar Jonas Halbeisen
Browse files

add messaging test

parent f284f985
No related branches found
No related tags found
No related merge requests found
import time
import Messaging
client = Messaging.Client(username="team1", password="test1234", topic="team1")
client.connect()
for i in range(1000):
client.send(str(i))
message = client.read()
if message is not None:
print(message)
time.sleep(1)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment