scripts/basic_message.scs

Tue, 27 Oct 2015 23:07:46 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 27 Oct 2015 23:07:46 +0000
changeset 43
b37504fa3031
parent 31
52690f37d6bc
child 45
744c81c124b6
permissions
-rw-r--r--

Add annotations to actions (by grabbing the preceding comment)

[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:
	<message to="${Juliet's full JID}" type="chat">
		<body>Hello Juliet!</body>
	</message>

Juliet receives:
	<message to="${Juliet's full JID}" from="${Romeo's full JID}" type="chat">
		<body>Hello Juliet!</body>
	</message>

Romeo disconnects

Juliet disconnects

mercurial