Software /
code /
prosody
Comparison
spec/scansion/keep_full_sub_req.scs @ 9667:e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 30 Nov 2018 23:58:55 +0100 |
child | 9668:6fbf8fa7ab8e |
comparison
equal
deleted
inserted
replaced
9666:270216874740 | 9667:e41d8b12cb47 |
---|---|
1 # server MUST keep a record of the complete presence stanza comprising the subscription request (#689) | |
2 | |
3 [Client] Alice | |
4 jid: pars-a@localhost | |
5 password: password | |
6 | |
7 [Client] Bob | |
8 jid: pars-b@localhost | |
9 password: password | |
10 | |
11 --------- | |
12 | |
13 Alice connects | |
14 | |
15 Alice sends: | |
16 <presence to="${Bob's JID}" type="subscribe"> | |
17 <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" /> | |
18 </presence> | |
19 | |
20 Alice disconnects | |
21 | |
22 Bob connects | |
23 | |
24 Bob sends: | |
25 <presence/> | |
26 | |
27 Bob receives: | |
28 <presence from="${Bob's full JID}"/> | |
29 | |
30 | |
31 Bob receives: | |
32 <presence from="${Alice's JID}"> | |
33 <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" /> | |
34 </presence> | |
35 | |
36 Bob disconnects | |
37 |