Comparison

spec/scansion/muc_create_destroy.scs @ 10434:8f709577fe8e

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 23 Nov 2019 23:12:01 +0100
parent 10272:327e374f143c
child 10697:08ec83f90ce0
comparison
equal deleted inserted replaced
10433:7777f25d5266 10434:8f709577fe8e
1 # MUC creation, basic messages and destruction
2
3 [Client] Romeo
4 jid: romeo@localhost/mK0dD6Ha
5 password: password
6
7 [Client] Juliet
8 jid: juliet@localhost/lVwkim_k
9 password: password
10
11 -----
12
13 Romeo connects
14
15 Romeo sends:
16 <presence to="garden@conference.localhost/romeo">
17 <x xmlns="http://jabber.org/protocol/muc"/>
18 </presence>
19
20 Romeo receives:
21 <presence from="garden@conference.localhost/romeo">
22 <x xmlns="vcard-temp:x:update">
23 <photo/>
24 </x>
25 <x xmlns="http://jabber.org/protocol/muc#user">
26 <status code="201"/>
27 <item affiliation="owner" jid="${Romeo's full JID}" role="moderator"/>
28 <status code="110"/>
29 </x>
30 </presence>
31
32 Romeo receives:
33 <message from="garden@conference.localhost" type="groupchat">
34 <subject/>
35 </message>
36
37 Romeo sends:
38 <iq to="garden@conference.localhost" id="lx3" type="set">
39 <query xmlns="http://jabber.org/protocol/muc#owner">
40 <x type="submit" xmlns="jabber:x:data"/>
41 </query>
42 </iq>
43
44 Romeo receives:
45 <iq id="lx3" type="result" from="garden@conference.localhost"/>
46
47 Juliet connects
48
49 Romeo sends:
50 <message to="garden@conference.localhost" type="groupchat" id="rm1">
51 <body>Where are thou my Juliet?</body>
52 </message>
53
54 Romeo receives:
55 <message type="groupchat" from="garden@conference.localhost/romeo" id="rm1">
56 <body>Where are thou my Juliet?</body>
57 </message>
58
59 Juliet sends:
60 <presence to="garden@conference.localhost/juliet">
61 <x xmlns="http://jabber.org/protocol/muc"/>
62 </presence>
63
64 Juliet receives:
65 <presence from="garden@conference.localhost/romeo">
66 <x xmlns="vcard-temp:x:update">
67 <photo/>
68 </x>
69 <x xmlns="http://jabber.org/protocol/muc#user">
70 <item affiliation="owner" role="moderator"/>
71 </x>
72 </presence>
73
74 Juliet receives:
75 <presence from="garden@conference.localhost/juliet">
76 <x xmlns="vcard-temp:x:update">
77 <photo/>
78 </x>
79 <x xmlns="http://jabber.org/protocol/muc#user">
80 <item affiliation="none" jid="${Juliet's full JID}" role="participant"/>
81 <status code="110"/>
82 </x>
83 </presence>
84
85 Juliet receives:
86 <message from="garden@conference.localhost/romeo" id="rm1" type="groupchat">
87 <body>Where are thou my Juliet?</body>
88 <delay stamp="{scansion:any}" xmlns="urn:xmpp:delay" from="garden@conference.localhost"/>
89 <x stamp="{scansion:any}" xmlns="jabber:x:delay" from="garden@conference.localhost"/>
90 </message>
91
92 Juliet receives:
93 <message from="garden@conference.localhost" type="groupchat">
94 <subject/>
95 </message>
96
97 Romeo receives:
98 <presence from="garden@conference.localhost/juliet">
99 <x xmlns="vcard-temp:x:update">
100 <photo/>
101 </x>
102 <x xmlns="http://jabber.org/protocol/muc#user">
103 <item affiliation="none" jid="${Juliet's full JID}" role="participant"/>
104 </x>
105 </presence>
106
107 Juliet sends:
108 <message to="garden@conference.localhost" type="groupchat" id="jm1">
109 <body>/me jumps out from behind a tree</body>
110 </message>
111
112 Romeo receives:
113 <message type="groupchat" id="jm1" from="garden@conference.localhost/juliet">
114 <body>/me jumps out from behind a tree</body>
115 </message>
116
117 Juliet receives:
118 <message type="groupchat" id="jm1" from="garden@conference.localhost/juliet">
119 <body>/me jumps out from behind a tree</body>
120 </message>
121
122 Juliet sends:
123 <message to="garden@conference.localhost" type="groupchat" id="jm2">
124 <body>Here I am!</body>
125 </message>
126
127 Romeo receives:
128 <message type="groupchat" id="jm2" from="garden@conference.localhost/juliet">
129 <body>Here I am!</body>
130 </message>
131
132 Juliet receives:
133 <message type="groupchat" id="jm2" from="garden@conference.localhost/juliet">
134 <body>Here I am!</body>
135 </message>
136
137 Romeo sends:
138 <message to="garden@conference.localhost" type="groupchat" id="rm2">
139 <body>What is this place?</body>
140 </message>
141
142 Romeo receives:
143 <message type="groupchat" id="rm2" from="garden@conference.localhost/romeo">
144 <body>What is this place?</body>
145 </message>
146
147 Juliet receives:
148 <message type="groupchat" id="rm2" from="garden@conference.localhost/romeo">
149 <body>What is this place?</body>
150 </message>
151
152 Juliet sends:
153 <message to="garden@conference.localhost" type="groupchat" id="jm3">
154 <body>I think we&apos;re in a script!</body>
155 </message>
156
157 Romeo receives:
158 <message type="groupchat" id="jm3" from="garden@conference.localhost/juliet">
159 <body>I think we&apos;re in a script!</body>
160 </message>
161
162 Juliet receives:
163 <message type="groupchat" id="jm3" from="garden@conference.localhost/juliet">
164 <body>I think we&apos;re in a script!</body>
165 </message>
166
167 Romeo sends:
168 <message to="garden@conference.localhost" type="groupchat" id="rm3">
169 <body>Oh no! Does that mean our love is not real?!</body>
170 </message>
171
172 Romeo receives:
173 <message type="groupchat" id="rm3" from="garden@conference.localhost/romeo">
174 <body>Oh no! Does that mean our love is not real?!</body>
175 </message>
176
177 Juliet receives:
178 <message type="groupchat" id="rm3" from="garden@conference.localhost/romeo">
179 <body>Oh no! Does that mean our love is not real?!</body>
180 </message>
181
182 Juliet sends:
183 <message to="garden@conference.localhost" type="groupchat" id="jm4">
184 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
185 </message>
186
187 Romeo receives:
188 <message type="groupchat" id="jm4" from="garden@conference.localhost/juliet">
189 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
190 </message>
191
192 Juliet receives:
193 <message type="groupchat" id="jm4" from="garden@conference.localhost/juliet">
194 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
195 </message>
196
197 Romeo sends:
198 <message to="garden@conference.localhost" type="groupchat" id="rm4">
199 <body>Yes!</body>
200 </message>
201
202 Romeo receives:
203 <message type="groupchat" id="rm4" from="garden@conference.localhost/romeo">
204 <body>Yes!</body>
205 </message>
206
207 Juliet receives:
208 <message type="groupchat" id="rm4" from="garden@conference.localhost/romeo">
209 <body>Yes!</body>
210 </message>
211
212 Romeo sends:
213 <iq to="garden@conference.localhost" id="lx4" type="set">
214 <query xmlns="http://jabber.org/protocol/muc#owner">
215 <destroy>
216 <reason>We refuse to live in this fantasy!</reason>
217 </destroy>
218 </query>
219 </iq>
220
221 Juliet receives:
222 <presence from="garden@conference.localhost/juliet" type="unavailable">
223 <x xmlns="http://jabber.org/protocol/muc#user">
224 <destroy>
225 <reason>We refuse to live in this fantasy!</reason>
226 </destroy>
227 <item affiliation="none" jid="${Juliet's full JID}" role="none"/>
228 <status code="110"/>
229 </x>
230 </presence>
231
232 Romeo receives:
233 <presence from="garden@conference.localhost/romeo" type="unavailable">
234 <x xmlns="http://jabber.org/protocol/muc#user">
235 <destroy>
236 <reason>We refuse to live in this fantasy!</reason>
237 </destroy>
238 <item affiliation="owner" jid="${Romeo's full JID}" role="none"/>
239 <status code="110"/>
240 </x>
241 </presence>
242
243 Romeo receives:
244 <iq id="lx4" type="result" from="garden@conference.localhost"/>
245
246 Juliet disconnects
247
248 Romeo disconnects
249
250 # recording ended on 2019-08-31T13:45:32Z