Comparison

spec/scansion/pubsub_createdelete.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 9291:329a670ae975
comparison
equal deleted inserted replaced
9265:585ef5c1b226 9266:c5267f5fd6e6
1 [Client] Romeo
2 jid: admin@localhost
3 password: password
4
5 // admin@localhost is assumed to have node creation privileges
6
7 ---------
8
9 Romeo connects
10
11 Romeo sends:
12 <iq type="set" to="pubsub.localhost" id='create1'>
13 <pubsub xmlns="http://jabber.org/protocol/pubsub">
14 <create node="princely_musings"/>
15 </pubsub>
16 </iq>
17
18 Romeo receives:
19 <iq type="result" id='create1'/>
20
21 Romeo sends:
22 <iq type="set" to="pubsub.localhost" id='create2'>
23 <pubsub xmlns="http://jabber.org/protocol/pubsub">
24 <create node="princely_musings"/>
25 </pubsub>
26 </iq>
27
28 Romeo receives:
29 <iq type="error" id='create2'>
30 <error type="cancel">
31 <conflict xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
32 </error>
33 </iq>
34
35 Romeo sends:
36 <iq type="set" to="pubsub.localhost" id='delete1'>
37 <pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
38 <delete node="princely_musings"/>
39 </pubsub>
40 </iq>
41
42 Romeo receives:
43 <iq type="result" id='delete1'/>
44
45 Romeo sends:
46 <iq type="set" to="pubsub.localhost" id='delete2'>
47 <pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
48 <delete node="princely_musings"/>
49 </pubsub>
50 </iq>
51
52 Romeo receives:
53 <iq type="error" id='delete2'>
54 <error type="cancel">
55 <item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
56 </error>
57 </iq>
58
59 Romeo disconnects
60
61 // vim: syntax=xml: