scripts/basic_message.scs

Tue, 27 Oct 2015 19:36:17 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 27 Oct 2015 19:36:17 +0000
changeset 41
623f94abe7a0
parent 31
52690f37d6bc
child 45
744c81c124b6
permissions
-rw-r--r--

scansion.generator: Initial basic lib to generate test scripts

[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