Software /
code /
prosody
Comparison
spec/scansion/issue505.scs @ 9266:c5267f5fd6e6
spec/scansion: Add scansion scripts used for testing
All past, except issue978-multi which fails randomly
based on ordering of elements - this is a scansion issue
to be resolved.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Sep 2018 16:44:48 +0100 |
child | 9291:329a670ae975 |
comparison
equal
deleted
inserted
replaced
9265:585ef5c1b226 | 9266:c5267f5fd6e6 |
---|---|
1 [Client] Romeo | |
2 jid: user@localhost | |
3 password: password | |
4 | |
5 [Client] Juliet | |
6 jid: user2@localhost | |
7 password: password | |
8 | |
9 ----- | |
10 | |
11 Romeo connects | |
12 | |
13 Romeo sends: | |
14 <presence to="room@conference.localhost/Romeo"> | |
15 <x xmlns="http://jabber.org/protocol/muc"/> | |
16 </presence> | |
17 | |
18 Romeo receives: | |
19 <presence from='room@conference.localhost/Romeo'> | |
20 <x xmlns='http://jabber.org/protocol/muc#user'> | |
21 <status code='201'/> | |
22 <item jid="${Romeo's full JID}" affiliation='owner' role='moderator'/> | |
23 <status code='110'/> | |
24 </x> | |
25 </presence> | |
26 | |
27 Romeo receives: | |
28 <message type='groupchat' from='room@conference.localhost'><subject/></message> | |
29 | |
30 # Submit config form | |
31 Romeo sends: | |
32 <iq id='config1' to='room@conference.localhost' type='set'> | |
33 <query xmlns='http://jabber.org/protocol/muc#owner'> | |
34 <x xmlns='jabber:x:data' type='submit'> | |
35 <field var='FORM_TYPE'> | |
36 <value>http://jabber.org/protocol/muc#roomconfig</value> | |
37 </field> | |
38 </x> | |
39 </query> | |
40 </iq> | |
41 | |
42 Romeo receives: | |
43 <iq id="config1" from="room@conference.localhost" type="result"> | |
44 </iq> | |
45 | |
46 # Juliet connects, and joins the room | |
47 Juliet connects | |
48 | |
49 Juliet sends: | |
50 <presence to="room@conference.localhost/Juliet"> | |
51 <x xmlns="http://jabber.org/protocol/muc"/> | |
52 </presence> | |
53 | |
54 Juliet receives: | |
55 <presence from="room@conference.localhost/Romeo" /> | |
56 | |
57 Juliet receives: | |
58 <presence from="room@conference.localhost/Juliet" /> | |
59 | |
60 Juliet receives: | |
61 <message type='groupchat' from='room@conference.localhost'><subject/></message> | |
62 | |
63 Romeo receives: | |
64 <presence from="room@conference.localhost/Juliet" /> | |
65 | |
66 Juliet sends: | |
67 <presence type='unavailable' to='room@conference.localhost'> | |
68 <status>Farewell</status> | |
69 </presence> | |
70 | |
71 Romeo receives: | |
72 <presence type='unavailable' from='room@conference.localhost/Juliet'> | |
73 <status>Farewell</status> | |
74 <x xmlns='http://jabber.org/protocol/muc#user'> | |
75 <item jid="${Juliet's full JID}" affiliation='none' role='none'/> | |
76 </x> | |
77 </presence> |