=== Test case: pubsub_SUITE:subscribe_options_test/1 (click for source code)
=== Config value:
[{watchdog,<0.7013.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/pubsub_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.pubsub_SUITE.logs/run.2022-03-03_10.36.35/pubsub_suite.subscribe_options_test.52866.html"},
{tc_group_properties,[{name,'dag+basic'},
{repeat_until_all_ok,3},
parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/pubsub_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.pubsub_SUITE.logs/run.2022-03-03_10.36.35/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:36:35
*** User 2022-03-03 10:36:35.748 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:35.749 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3010e37539c52666' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:35.749 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:36:35.749 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9vcHRpb25zX3Rlc3RfMTAzOQBtYXR5Z3J5c2E=</auth>
*** User 2022-03-03 10:36:35.751 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:35.751 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:35.752 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dce4920d6a834707' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:35.752 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:36:35.752 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<iq type='set' id='75be0b3a2866e55272d1e86578e39cda'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:35.757 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<iq id='75be0b3a2866e55272d1e86578e39cda' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_options_test_1039@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:35.757 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<iq type='set' id='7c7360e92f5d243421cfa8495a143296'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:35.760 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<iq type='result' id='7c7360e92f5d243421cfa8495a143296'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:35.760 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:35.761 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<presence from='alicE_subscribe_options_test_1039@localhost/res1' to='alice_subscribe_options_test_1039@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:35.762 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:35.763 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11c604177ff8fb06' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:35.764 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:36:35.764 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfb3B0aW9uc190ZXN0XzEwMzkAbWFrcm9saWth</auth>
*** User 2022-03-03 10:36:35.768 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:35.768 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:36:35.768 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='077edbaf32d46f06' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:35.769 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:36:35.769 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<iq type='set' id='bcec5350b66747fedde4172a66ee8fbf'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:35.769 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<iq id='bcec5350b66747fedde4172a66ee8fbf' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_options_test_1039@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:35.769 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<iq type='set' id='c46e1c972c540a77fe9ad6b87e01407f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:35.770 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<iq type='result' id='c46e1c972c540a77fe9ad6b87e01407f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:35.770 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:35.771 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<presence from='bOb_subscribe_options_test_1039@localhost/res1' to='bob_subscribe_options_test_1039@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:35.772 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2022-03-03 10:36:35.772 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='488ab37be44253d6' from='localhost'/>
*** User 2022-03-03 10:36:35.772 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</features>
*** User 2022-03-03 10:36:35.773 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdF9zdWJzY3JpYmVfb3B0aW9uc190ZXN0XzEwMzkAd2l0Y2hlcg==</auth>
*** User 2022-03-03 10:36:35.775 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:35.775 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2022-03-03 10:36:35.776 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='946afb15a03cdf21' from='localhost'/>
*** User 2022-03-03 10:36:35.776 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</features>
*** User 2022-03-03 10:36:35.776 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<iq type='set' id='71c34d7f4a6c43b31bd8ec4a0a37c65d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:35.777 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<iq id='71c34d7f4a6c43b31bd8ec4a0a37c65d' type='result' xmlns='jabber:client'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>geralt_subscribe_options_test_1039@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:35.777 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<iq type='set' id='0981d9bba9ff21740aea58c3dbd32563'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:35.777 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<iq type='result' id='0981d9bba9ff21740aea58c3dbd32563' xmlns='jabber:client'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:35.778 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:35.779 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<presence from='geralt_subscribe_options_test_1039@localhost/res1' to='geralt_subscribe_options_test_1039@localhost/res1' xmlns='jabber:client'/>
*** User 2022-03-03 10:36:35.779 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_subscribe_options_test_1039-pubsub.localhost-princely_musings_ZDzgX77rl0A=-create_node' from='alicE_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_ZDzgX77rl0A='/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.783 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1039@localhost/res1' id='alicE_subscribe_options_test_1039-pubsub.localhost-princely_musings_ZDzgX77rl0A=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_ZDzgX77rl0A='/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.783 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='alicE_subscribe_options_test_1039-pubsub.localhost--options' from='alicE_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_ZDzgX77rl0A=' jid='alicE_subscribe_options_test_1039@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.784 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1039@localhost/res1' type='error' xml:lang='en' id='alicE_subscribe_options_test_1039-pubsub.localhost--options'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_ZDzgX77rl0A=' jid='alicE_subscribe_options_test_1039@localhost/res1'/>
</pubsub>
<error code='406' type='modify'>
<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<not-subscribed xmlns='http://jabber.org/protocol/pubsub#errors'/>
</error>
</iq>
*** User 2022-03-03 10:36:35.784 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bOb_subscribe_options_test_1039-pubsub.localhost--options' from='bOb_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_ZDzgX77rl0A=' jid='bOb_subscribe_options_test_1039@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.785 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1039@localhost/res1' type='error' xml:lang='en' id='bOb_subscribe_options_test_1039-pubsub.localhost--options'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_ZDzgX77rl0A=' jid='bOb_subscribe_options_test_1039@localhost/res1'/>
</pubsub>
<error code='406' type='modify'>
<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<not-subscribed xmlns='http://jabber.org/protocol/pubsub#errors'/>
</error>
</iq>
*** User 2022-03-03 10:36:35.785 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='geralt_subscribe_options_test_1039-pubsub.localhost--options' from='geralt_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_ZDzgX77rl0A=' jid='geralt_subscribe_options_test_1039@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.786 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1039@localhost/res1' type='error' id='geralt_subscribe_options_test_1039-pubsub.localhost--options' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_ZDzgX77rl0A=' jid='geralt_subscribe_options_test_1039@localhost/res1'/>
</pubsub>
<error code='406' type='modify'>
<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<not-subscribed xmlns='http://jabber.org/protocol/pubsub#errors'/>
</error>
</iq>
*** User 2022-03-03 10:36:35.786 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='geralt_subscribe_options_test_1039-pubsub.localhost-princely_musings_ZDzgX77rl0A=-subscribe' from='geralt_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_ZDzgX77rl0A=' jid='geralt_subscribe_options_test_1039@localhost/res1'/>
<options>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>http://jabber.org/protocol/pubsub#subscribe_options</value>
</field>
<field var='pubsub#deliver'>
<value>true</value>
</field>
</x>
</options>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.787 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1039@localhost/res1' id='geralt_subscribe_options_test_1039-pubsub.localhost-princely_musings_ZDzgX77rl0A=-subscribe' type='result' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='geralt_subscribe_options_test_1039@localhost/res1' subscription='subscribed' subid='1646-303795-786905' node='princely_musings_ZDzgX77rl0A='/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.787 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_subscribe_options_test_1039-pubsub.localhost-princely_musings_ZDzgX77rl0A=-subscribe' from='bOb_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_ZDzgX77rl0A=' jid='bOb_subscribe_options_test_1039@localhost/res1'/>
<options>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>http://jabber.org/protocol/pubsub#subscribe_options</value>
</field>
<field var='pubsub#deliver'>
<value>false</value>
</field>
</x>
</options>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.788 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1039@localhost/res1' id='bOb_subscribe_options_test_1039-pubsub.localhost-princely_musings_ZDzgX77rl0A=-subscribe' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='bob_subscribe_options_test_1039@localhost/res1' subscription='subscribed' subid='1646-303795-787852' node='princely_musings_ZDzgX77rl0A='/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.788 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='geralt_subscribe_options_test_1039-pubsub.localhost--options' from='geralt_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_ZDzgX77rl0A=' jid='geralt_subscribe_options_test_1039@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.789 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1039@localhost/res1' id='geralt_subscribe_options_test_1039-pubsub.localhost--options' type='result' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options jid='geralt_subscribe_options_test_1039@localhost/res1' subid='1646-303795-786905' node='princely_musings_ZDzgX77rl0A='>
<x xmlns='jabber:x:data'>
<field var='FORM_TYPE' type='hidden'>
<value>http://jabber.org/protocol/pubsub#subscribe_options</value>
</field>
<field var='pubsub#deliver' type='boolean' label='Whether an entity wants to receive or disable notifications'>
<value>true</value>
</field>
<field var='pubsub#digest' type='boolean' label='Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually'/>
<field var='pubsub#digest_frequency' type='text-single' label='The minimum number of milliseconds between sending any two notification digests'/>
<field var='pubsub#expire' type='text-single' label='The DateTime at which a leased subscription will end or has ended'/>
<field var='pubsub#include_body' type='boolean' label='Whether an entity wants to receive an XMPP message body in addition to the payload format'/>
<field var='pubsub#show-values' type='list-multi' label='The presence states for which an entity wants to receive notifications'>
<option label='Away'>
<value>away</value>
</option>
<option label='Chat'>
<value>chat</value>
</option>
<option label='Do Not Disturb'>
<value>dnd</value>
</option>
<option label='Any online state'>
<value>online</value>
</option>
<option label='Extended Away'>
<value>xa</value>
</option>
</field>
<field var='pubsub#subscription_type' type='list-single' label='Type of notification to receive'>
<option label='Receive notification of new items only'>
<value>items</value>
</option>
<option label='Receive notification of new nodes only'>
<value>nodes</value>
</option>
</field>
<field var='pubsub#subscription_depth' type='list-single' label='Depth from subscription for which to receive notifications'>
<option label='Receive notification from direct child nodes only'>
<value>1</value>
</option>
<option label='Receive notification from all descendent nodes'>
<value>all</value>
</option>
</field>
</x>
</options>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.789 ***
bOb_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bOb_subscribe_options_test_1039-pubsub.localhost--options' from='bOb_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_ZDzgX77rl0A=' jid='bOb_subscribe_options_test_1039@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.789 ***
bOb_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1039@localhost/res1' id='bOb_subscribe_options_test_1039-pubsub.localhost--options' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options jid='bob_subscribe_options_test_1039@localhost/res1' subid='1646-303795-787852' node='princely_musings_ZDzgX77rl0A='>
<x xmlns='jabber:x:data'>
<field var='FORM_TYPE' type='hidden'>
<value>http://jabber.org/protocol/pubsub#subscribe_options</value>
</field>
<field var='pubsub#deliver' type='boolean' label='Whether an entity wants to receive or disable notifications'>
<value>false</value>
</field>
<field var='pubsub#digest' type='boolean' label='Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually'/>
<field var='pubsub#digest_frequency' type='text-single' label='The minimum number of milliseconds between sending any two notification digests'/>
<field var='pubsub#expire' type='text-single' label='The DateTime at which a leased subscription will end or has ended'/>
<field var='pubsub#include_body' type='boolean' label='Whether an entity wants to receive an XMPP message body in addition to the payload format'/>
<field var='pubsub#show-values' type='list-multi' label='The presence states for which an entity wants to receive notifications'>
<option label='Away'>
<value>away</value>
</option>
<option label='Chat'>
<value>chat</value>
</option>
<option label='Do Not Disturb'>
<value>dnd</value>
</option>
<option label='Any online state'>
<value>online</value>
</option>
<option label='Extended Away'>
<value>xa</value>
</option>
</field>
<field var='pubsub#subscription_type' type='list-single' label='Type of notification to receive'>
<option label='Receive notification of new items only'>
<value>items</value>
</option>
<option label='Receive notification of new nodes only'>
<value>nodes</value>
</option>
</field>
<field var='pubsub#subscription_depth' type='list-single' label='Depth from subscription for which to receive notifications'>
<option label='Receive notification from direct child nodes only'>
<value>1</value>
</option>
<option label='Receive notification from all descendent nodes'>
<value>all</value>
</option>
</field>
</x>
</options>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.789 ***
alicE_subscribe_options_test_1039@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_subscribe_options_test_1039-pubsub.localhost-princely_musings_ZDzgX77rl0A=-delete_node' from='alicE_subscribe_options_test_1039@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_ZDzgX77rl0A='/>
</pubsub>
</iq>
*** User 2022-03-03 10:36:35.790 ***
alicE_subscribe_options_test_1039@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1039@localhost/res1' id='alicE_subscribe_options_test_1039-pubsub.localhost-princely_musings_ZDzgX77rl0A=-delete_node' type='result'/>
*** User 2022-03-03 10:36:35.791 ***
geralt_subscribe_options_test_1039@localhost/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2022-03-03 10:36:35.791 ***
geralt_subscribe_options_test_1039@localhost/res1 in
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2022-03-03 10:36:35.791 ***
bOb_subscribe_options_test_1039@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:36.002 ***
bOb_subscribe_options_test_1039@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:36:36.002 ***
alicE_subscribe_options_test_1039@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:36.002 ***
alicE_subscribe_options_test_1039@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:36:36
=== successfully completed test case
=== === Returned value: ok