Comparison

spec/scansion/keep_full_sub_req.scs @ 9670:73e1bdc001ce

spec/keep_full_sub_req: Make the second connect a differenct device (workaround for scansion issue) scansion threw an error when a client connected again
author Kim Alvefur <zash@zash.se>
date Sat, 01 Dec 2018 18:12:01 +0100
parent 9669:8c3ef65ecb40
child 10515:35bf3b80480f
comparison
equal deleted inserted replaced
9669:8c3ef65ecb40 9670:73e1bdc001ce
4 jid: pars-a@localhost 4 jid: pars-a@localhost
5 password: password 5 password: password
6 6
7 [Client] Bob 7 [Client] Bob
8 jid: pars-b@localhost 8 jid: pars-b@localhost
9 password: password
10
11 [Client] Bob's phone
12 jid: pars-b@localhost/phone
9 password: password 13 password: password
10 14
11 --------- 15 ---------
12 16
13 Alice connects 17 Alice connects
34 38
35 Bob disconnects 39 Bob disconnects
36 40
37 # Works if they reconnect too 41 # Works if they reconnect too
38 42
39 Bob connects 43 Bob's phone connects
40 44
41 Bob sends: 45 Bob's phone sends:
42 <presence/> 46 <presence/>
43 47
44 Bob receives: 48 Bob's phone receives:
45 <presence from="${Bob's full JID}"/> 49 <presence from="${Bob's phone's full JID}"/>
46 50
47 51
48 Bob receives: 52 Bob's phone receives:
49 <presence from="${Alice's JID}" type="subscribe"> 53 <presence from="${Alice's JID}" type="subscribe">
50 <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" /> 54 <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" />
51 </presence> 55 </presence>
52 56
53 Bob disconnects 57 Bob's phone disconnects
54 58