=== Test case: pubsub_SUITE:subscribe_options_test/1 (click for source code)
=== Config value:
[{watchdog,<0.6856.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/pubsub_SUITE_data"},
{preset,"internal_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.pubsub_SUITE.logs/run.2022-01-27_15.34.03/pubsub_suite.subscribe_options_test.60802.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.pubsub_SUITE.logs/run.2022-01-27_15.34.03/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 => [{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"
=== Started at 2022-01-27 15:34:04
*** User 2022-01-27 15:34:04.113 ***
alicE_subscribe_options_test_1098@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-01-27 15:34:04.114 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea74ec3f48d1e0f2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:04.114 ***
alicE_subscribe_options_test_1098@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>SCRAM-SHA-256</mechanism>
<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-01-27 15:34:04.115 ***
alicE_subscribe_options_test_1098@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9vcHRpb25zX3Rlc3RfMTA5OABtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:34:04.116 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:04.116 ***
alicE_subscribe_options_test_1098@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-01-27 15:34:04.117 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='740f5671b8d87ff6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:04.117 ***
alicE_subscribe_options_test_1098@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-01-27 15:34:04.117 ***
alicE_subscribe_options_test_1098@localhost/res1 out
<iq type='set' id='00684d51c250876ee71725ee947e951e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:04.117 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<iq id='00684d51c250876ee71725ee947e951e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_options_test_1098@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:04.118 ***
alicE_subscribe_options_test_1098@localhost/res1 out
<iq type='set' id='aa02613cd3dae87afe2d5c02076649f1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:04.119 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<iq type='result' id='aa02613cd3dae87afe2d5c02076649f1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:04.120 ***
alicE_subscribe_options_test_1098@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:04.121 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<presence from='alicE_subscribe_options_test_1098@localhost/res1' to='alice_subscribe_options_test_1098@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:04.122 ***
bOb_subscribe_options_test_1098@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-01-27 15:34:04.123 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='90c8b7f40053a8a7' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:04.123 ***
bOb_subscribe_options_test_1098@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>SCRAM-SHA-256</mechanism>
<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-01-27 15:34:04.123 ***
bOb_subscribe_options_test_1098@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfb3B0aW9uc190ZXN0XzEwOTgAbWFrcm9saWth</auth>
*** User 2022-01-27 15:34:04.124 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:04.124 ***
bOb_subscribe_options_test_1098@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-01-27 15:34:04.125 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b42cc0256f0f70cb' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:04.125 ***
bOb_subscribe_options_test_1098@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-01-27 15:34:04.125 ***
bOb_subscribe_options_test_1098@localhost/res1 out
<iq type='set' id='66f854724e2254323388824965c9ecf9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:04.126 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<iq id='66f854724e2254323388824965c9ecf9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_options_test_1098@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:04.126 ***
bOb_subscribe_options_test_1098@localhost/res1 out
<iq type='set' id='f4ee19713e860ec8dc354f217b55ef24'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:04.127 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<iq type='result' id='f4ee19713e860ec8dc354f217b55ef24'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:04.127 ***
bOb_subscribe_options_test_1098@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:04.128 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<presence from='bOb_subscribe_options_test_1098@localhost/res1' to='bob_subscribe_options_test_1098@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:04.130 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2022-01-27 15:34:04.131 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='722a094c0dba4006' from='localhost'/>
*** User 2022-01-27 15:34:04.131 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<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-01-27 15:34:04.131 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdF9zdWJzY3JpYmVfb3B0aW9uc190ZXN0XzEwOTgAd2l0Y2hlcg==</auth>
*** User 2022-01-27 15:34:04.132 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:04.132 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2022-01-27 15:34:04.133 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='e92be917e59164ff' from='localhost'/>
*** User 2022-01-27 15:34:04.133 ***
geralt_subscribe_options_test_1098@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-01-27 15:34:04.133 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<iq type='set' id='87a4a0f69c61c3c5e6e9d93a4f8059fd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:04.133 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<iq id='87a4a0f69c61c3c5e6e9d93a4f8059fd' type='result' xmlns='jabber:client'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>geralt_subscribe_options_test_1098@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:04.134 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<iq type='set' id='ea52572585ada54df83610b4de91e8c0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:04.135 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<iq type='result' id='ea52572585ada54df83610b4de91e8c0' xmlns='jabber:client'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:04.135 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:04.136 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<presence from='geralt_subscribe_options_test_1098@localhost/res1' to='geralt_subscribe_options_test_1098@localhost/res1' xmlns='jabber:client'/>
*** User 2022-01-27 15:34:04.137 ***
alicE_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_subscribe_options_test_1098-pubsub.localhost-princely_musings_afOlEPVSpIM=-create_node' from='alicE_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_afOlEPVSpIM='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.242 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1098@localhost/res1' id='alicE_subscribe_options_test_1098-pubsub.localhost-princely_musings_afOlEPVSpIM=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_afOlEPVSpIM='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.242 ***
alicE_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='alicE_subscribe_options_test_1098-pubsub.localhost--options' from='alicE_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_afOlEPVSpIM=' jid='alicE_subscribe_options_test_1098@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.243 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1098@localhost/res1' type='error' xml:lang='en' id='alicE_subscribe_options_test_1098-pubsub.localhost--options'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_afOlEPVSpIM=' jid='alicE_subscribe_options_test_1098@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-01-27 15:34:04.243 ***
bOb_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bOb_subscribe_options_test_1098-pubsub.localhost--options' from='bOb_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_afOlEPVSpIM=' jid='bOb_subscribe_options_test_1098@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.243 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1098@localhost/res1' type='error' xml:lang='en' id='bOb_subscribe_options_test_1098-pubsub.localhost--options'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_afOlEPVSpIM=' jid='bOb_subscribe_options_test_1098@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-01-27 15:34:04.244 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='geralt_subscribe_options_test_1098-pubsub.localhost--options' from='geralt_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_afOlEPVSpIM=' jid='geralt_subscribe_options_test_1098@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.245 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1098@localhost/res1' type='error' id='geralt_subscribe_options_test_1098-pubsub.localhost--options' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_afOlEPVSpIM=' jid='geralt_subscribe_options_test_1098@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-01-27 15:34:04.245 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='geralt_subscribe_options_test_1098-pubsub.localhost-princely_musings_afOlEPVSpIM=-subscribe' from='geralt_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_afOlEPVSpIM=' jid='geralt_subscribe_options_test_1098@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-01-27 15:34:04.246 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1098@localhost/res1' id='geralt_subscribe_options_test_1098-pubsub.localhost-princely_musings_afOlEPVSpIM=-subscribe' type='result' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='geralt_subscribe_options_test_1098@localhost/res1' subscription='subscribed' subid='1643-297644-245808' node='princely_musings_afOlEPVSpIM='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.246 ***
bOb_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_subscribe_options_test_1098-pubsub.localhost-princely_musings_afOlEPVSpIM=-subscribe' from='bOb_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_afOlEPVSpIM=' jid='bOb_subscribe_options_test_1098@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-01-27 15:34:04.247 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1098@localhost/res1' id='bOb_subscribe_options_test_1098-pubsub.localhost-princely_musings_afOlEPVSpIM=-subscribe' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='bob_subscribe_options_test_1098@localhost/res1' subscription='subscribed' subid='1643-297644-246800' node='princely_musings_afOlEPVSpIM='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.247 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='geralt_subscribe_options_test_1098-pubsub.localhost--options' from='geralt_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_afOlEPVSpIM=' jid='geralt_subscribe_options_test_1098@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.248 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1098@localhost/res1' id='geralt_subscribe_options_test_1098-pubsub.localhost--options' type='result' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options jid='geralt_subscribe_options_test_1098@localhost/res1' subid='1643-297644-245808' node='princely_musings_afOlEPVSpIM='>
<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-01-27 15:34:04.248 ***
bOb_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bOb_subscribe_options_test_1098-pubsub.localhost--options' from='bOb_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_afOlEPVSpIM=' jid='bOb_subscribe_options_test_1098@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.249 ***
bOb_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1098@localhost/res1' id='bOb_subscribe_options_test_1098-pubsub.localhost--options' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options jid='bob_subscribe_options_test_1098@localhost/res1' subid='1643-297644-246800' node='princely_musings_afOlEPVSpIM='>
<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-01-27 15:34:04.249 ***
alicE_subscribe_options_test_1098@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_subscribe_options_test_1098-pubsub.localhost-princely_musings_afOlEPVSpIM=-delete_node' from='alicE_subscribe_options_test_1098@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_afOlEPVSpIM='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:04.250 ***
alicE_subscribe_options_test_1098@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1098@localhost/res1' id='alicE_subscribe_options_test_1098-pubsub.localhost-princely_musings_afOlEPVSpIM=-delete_node' type='result'/>
*** User 2022-01-27 15:34:04.250 ***
geralt_subscribe_options_test_1098@localhost/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2022-01-27 15:34:04.250 ***
geralt_subscribe_options_test_1098@localhost/res1 in
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2022-01-27 15:34:04.250 ***
bOb_subscribe_options_test_1098@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:04.460 ***
bOb_subscribe_options_test_1098@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:04.460 ***
alicE_subscribe_options_test_1098@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:04.460 ***
alicE_subscribe_options_test_1098@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:04
=== successfully completed test case
=== === Returned value: ok