aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/basic_roster.scs
blob: 9cd8a2ca3c0c26cbe4c40c9a8806cdb771dae64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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