File

spec/scansion/basic_roster.scs @ 9300:1df8832bd29e

net.server_epoll: Rename all variables holding TLS contexts for consistency
author Kim Alvefur <zash@zash.se>
date Thu, 13 Sep 2018 16:50:23 +0200
parent 9291:329a670ae975
child 9305:f14c81fd44a4
line wrap: on
line source

# 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