Software /
code /
prosody
Comparison
spec/scansion/issue978-multi.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 | 9290:decdaaf78f32 |
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 [Client] Juliet's phone | |
10 jid: user2@localhost | |
11 password: password | |
12 | |
13 ----- | |
14 | |
15 Romeo connects | |
16 | |
17 Romeo sends: | |
18 <presence to="room@conference.localhost/Romeo"> | |
19 <x xmlns="http://jabber.org/protocol/muc"/> | |
20 </presence> | |
21 | |
22 Romeo receives: | |
23 <presence from='room@conference.localhost/Romeo'> | |
24 <x xmlns='http://jabber.org/protocol/muc#user'> | |
25 <status code='201'/> | |
26 <item jid="${Romeo's full JID}" affiliation='owner' role='moderator'/> | |
27 <status code='110'/> | |
28 </x> | |
29 </presence> | |
30 | |
31 Romeo receives: | |
32 <message type='groupchat' from='room@conference.localhost'><subject/></message> | |
33 | |
34 # Submit config form | |
35 Romeo sends: | |
36 <iq id='config1' to='room@conference.localhost' type='set'> | |
37 <query xmlns='http://jabber.org/protocol/muc#owner'> | |
38 <x xmlns='jabber:x:data' type='submit'> | |
39 <field var='FORM_TYPE'> | |
40 <value>http://jabber.org/protocol/muc#roomconfig</value> | |
41 </field> | |
42 </x> | |
43 </query> | |
44 </iq> | |
45 | |
46 Romeo receives: | |
47 <iq id="config1" from="room@conference.localhost" type="result"> | |
48 </iq> | |
49 | |
50 # Juliet connects, and joins the room | |
51 Juliet connects | |
52 | |
53 Juliet sends: | |
54 <presence to="room@conference.localhost/Juliet"> | |
55 <x xmlns="http://jabber.org/protocol/muc"/> | |
56 </presence> | |
57 | |
58 Juliet receives: | |
59 <presence from="room@conference.localhost/Romeo" /> | |
60 | |
61 Juliet receives: | |
62 <presence from="room@conference.localhost/Juliet" /> | |
63 | |
64 Juliet receives: | |
65 <message type='groupchat' from='room@conference.localhost'><subject/></message> | |
66 | |
67 Romeo receives: | |
68 <presence from="room@conference.localhost/Juliet" /> | |
69 | |
70 # Juliet's phone connects, and joins the room | |
71 Juliet's phone connects | |
72 | |
73 Juliet's phone sends: | |
74 <presence to="room@conference.localhost/Juliet"> | |
75 <x xmlns="http://jabber.org/protocol/muc"/> | |
76 </presence> | |
77 | |
78 Juliet's phone receives: | |
79 <presence from="room@conference.localhost/Romeo" /> | |
80 | |
81 Juliet's phone receives: | |
82 <presence from="room@conference.localhost/Juliet" /> | |
83 | |
84 Juliet's phone receives: | |
85 <message type='groupchat' from='room@conference.localhost'><subject/></message> | |
86 | |
87 Romeo receives: | |
88 <presence from='room@conference.localhost/Juliet'> | |
89 <x xmlns='http://jabber.org/protocol/muc#user'> | |
90 <item affiliation='none' jid="${Juliet's phone's full JID}" role='participant'/> | |
91 <item affiliation='none' jid="${Juliet's full JID}" role='participant'/> | |
92 </x> | |
93 </presence> | |
94 | |
95 # Juliet leaves with an error | |
96 Juliet sends: | |
97 <presence type='error' to='room@conference.localhost'> | |
98 <error type='cancel'> | |
99 <service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> | |
100 <text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Test error</text> | |
101 </error> | |
102 </presence> | |
103 | |
104 Romeo receives: | |
105 <presence from='room@conference.localhost/Juliet'> | |
106 <x xmlns='http://jabber.org/protocol/muc#user'> | |
107 <item jid="${Juliet's phone's full JID}" affiliation='none' role='participant'/> | |
108 </x> | |
109 </presence> |