Software /
code /
prosody
Comparison
spec/scansion/vcard_temp.scs @ 9521:e57f6cd1af50
tests: Add simple test case for XEP-0054
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 20 Oct 2018 17:12:35 +0200 |
child | 9522:4ea7298d3401 |
comparison
equal
deleted
inserted
replaced
9520:d6964d16455c | 9521:e57f6cd1af50 |
---|---|
1 # mod_scansion_record on host 'localhost' recording started 2018-10-20T15:00:12Z | |
2 | |
3 [Client] Romeo | |
4 jid: romeo@localhost | |
5 password: password | |
6 | |
7 [Client] Juliet | |
8 jid: juliet@localhost | |
9 password: password | |
10 | |
11 ----- | |
12 | |
13 Romeo connects | |
14 | |
15 Romeo sends: | |
16 <iq id="lx2" type="get"> | |
17 <vCard xmlns="vcard-temp"/> | |
18 </iq> | |
19 | |
20 Romeo receives: | |
21 <iq type="result" id="lx2" to="${Romeo's full JID}"> | |
22 <vCard xmlns="vcard-temp"/> | |
23 </iq> | |
24 | |
25 Romeo sends: | |
26 <iq id="lx3" type="set"> | |
27 <vCard xmlns="vcard-temp"> | |
28 <FN>Romeo Montague</FN> | |
29 <N> | |
30 <FAMILY>Montague</FAMILY> | |
31 <GIVEN>Romeo</GIVEN> | |
32 <MIDDLE/> | |
33 <PREFIX/> | |
34 <SUFFIX/> | |
35 </N> | |
36 </vCard> | |
37 </iq> | |
38 | |
39 Romeo receives: | |
40 <iq type="result" id="lx3" to="${Romeo's full JID}"/> | |
41 | |
42 Romeo sends: | |
43 <iq id="lx4" type="get"> | |
44 <vCard xmlns="vcard-temp"/> | |
45 </iq> | |
46 | |
47 Romeo receives: | |
48 <iq type="result" id="lx4" to="${Romeo's full JID}"> | |
49 <vCard xmlns="vcard-temp"> | |
50 <FN>Romeo Montague</FN> | |
51 <N> | |
52 <FAMILY>Montague</FAMILY> | |
53 <GIVEN>Romeo</GIVEN> | |
54 <MIDDLE/> | |
55 <PREFIX/> | |
56 <SUFFIX/> | |
57 </N> | |
58 </vCard> | |
59 </iq> | |
60 | |
61 Romeo disconnects | |
62 | |
63 Juliet connects | |
64 | |
65 Juliet sends: | |
66 <iq type="get" id="lx3" to="romeo@localhost"> | |
67 <vCard xmlns="vcard-temp"/> | |
68 </iq> | |
69 | |
70 Juliet receives: | |
71 <iq type="result" from="romeo@localhost" id="lx3" to="${Juliet's full JID}"> | |
72 <vCard xmlns="vcard-temp"> | |
73 <FN>Romeo Montague</FN> | |
74 <N> | |
75 <FAMILY>Montague</FAMILY> | |
76 <GIVEN>Romeo</GIVEN> | |
77 <MIDDLE/> | |
78 <PREFIX/> | |
79 <SUFFIX/> | |
80 </N> | |
81 </vCard> | |
82 </iq> | |
83 | |
84 Juliet disconnects | |
85 | |
86 # recording ended on 2018-10-20T15:02:14Z |