mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
41 lines
650 B
Text
41 lines
650 B
Text
# Basic roster test
|
|
|
|
[Client] Romeo
|
|
jid: user@localhost
|
|
password: password
|
|
|
|
[Client] Juliet
|
|
jid: juliet@localhost
|
|
password: password
|
|
|
|
---------
|
|
|
|
Romeo connects
|
|
|
|
Juliet connects
|
|
|
|
Romeo sends:
|
|
<presence/>
|
|
|
|
Romeo receives:
|
|
<presence from="${Romeo's full JID}" />
|
|
|
|
Romeo sends:
|
|
<iq type="get" id="roster1">
|
|
<query xmlns='jabber:iq:roster'/>
|
|
</iq>
|
|
|
|
Romeo receives:
|
|
<iq type="result" id="roster1">
|
|
<query ver='{scansion:any}' xmlns="jabber:iq:roster"/>
|
|
</iq>
|
|
|
|
Romeo disconnects
|
|
|
|
#Juliet receives:
|
|
# <presence from="${Romeo's full JID}" />
|
|
#
|
|
#Juliet receives:
|
|
# <presence from="${Romeo's full JID}" type="unavailable" />
|
|
#
|
|
#Juliet disconnects
|