=== Test case: pubsub_SUITE:subscribe_options_test/1 (click for source code)
=== Config value:
[{watchdog,<0.763.2>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/pubsub_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.pubsub_SUITE.logs/run.2022-01-27_15.35.02/pubsub_suite.subscribe_options_test.133378.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.pubsub_SUITE.logs/run.2022-01-27_15.35.02/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 => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:35:03
*** User 2022-01-27 15:35:03.149 ***
alicE_subscribe_options_test_1882@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:35:03.150 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a9aed8ae7e0f309' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:35:03.150 ***
alicE_subscribe_options_test_1882@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:35:03.150 ***
alicE_subscribe_options_test_1882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9vcHRpb25zX3Rlc3RfMTg4MgBtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:35:03.152 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:35:03.152 ***
alicE_subscribe_options_test_1882@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:35:03.153 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27d3027343761535' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:35:03.153 ***
alicE_subscribe_options_test_1882@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:35:03.153 ***
alicE_subscribe_options_test_1882@localhost/res1 out
<iq type='set' id='821b0c9c55e9b0e53a3672c2dbf70054'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:35:03.153 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<iq id='821b0c9c55e9b0e53a3672c2dbf70054' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_options_test_1882@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:35:03.153 ***
alicE_subscribe_options_test_1882@localhost/res1 out
<iq type='set' id='32f2ad32a400606d98602ea118987d72'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:35:03.154 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<iq type='result' id='32f2ad32a400606d98602ea118987d72'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:35:03.154 ***
alicE_subscribe_options_test_1882@localhost/res1 out
<presence/>
*** User 2022-01-27 15:35:03.167 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<presence from='alicE_subscribe_options_test_1882@localhost/res1' to='alice_subscribe_options_test_1882@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:35:03.167 ***
bOb_subscribe_options_test_1882@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:35:03.168 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b16ac01362095156' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:35:03.168 ***
bOb_subscribe_options_test_1882@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:35:03.168 ***
bOb_subscribe_options_test_1882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfb3B0aW9uc190ZXN0XzE4ODIAbWFrcm9saWth</auth>
*** User 2022-01-27 15:35:03.253 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:35:03.253 ***
bOb_subscribe_options_test_1882@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:35:03.254 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67afab2d3d0958c9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:35:03.254 ***
bOb_subscribe_options_test_1882@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:35:03.254 ***
bOb_subscribe_options_test_1882@localhost/res1 out
<iq type='set' id='9772c3345b9156c8d3afe964d8c7410c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:35:03.255 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<iq id='9772c3345b9156c8d3afe964d8c7410c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_options_test_1882@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:35:03.255 ***
bOb_subscribe_options_test_1882@localhost/res1 out
<iq type='set' id='fe2c6bd0b5ceb2b4a02a1c0ad94f1958'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:35:03.255 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<iq type='result' id='fe2c6bd0b5ceb2b4a02a1c0ad94f1958'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:35:03.255 ***
bOb_subscribe_options_test_1882@localhost/res1 out
<presence/>
*** User 2022-01-27 15:35:03.291 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<presence from='bOb_subscribe_options_test_1882@localhost/res1' to='bob_subscribe_options_test_1882@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:35:03.292 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2022-01-27 15:35:03.293 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='4e4bfa6c089d9159' from='localhost'/>
*** User 2022-01-27 15:35:03.293 ***
geralt_subscribe_options_test_1882@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:35:03.293 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdF9zdWJzY3JpYmVfb3B0aW9uc190ZXN0XzE4ODIAd2l0Y2hlcg==</auth>
*** User 2022-01-27 15:35:03.294 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:35:03.294 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2022-01-27 15:35:03.294 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='d906e66c7616789e' from='localhost'/>
*** User 2022-01-27 15:35:03.294 ***
geralt_subscribe_options_test_1882@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:35:03.294 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<iq type='set' id='1f46e49baa1c82d94d818a17b7d5ace6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:35:03.295 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<iq id='1f46e49baa1c82d94d818a17b7d5ace6' type='result' xmlns='jabber:client'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>geralt_subscribe_options_test_1882@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:35:03.295 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<iq type='set' id='c9c4365a0b305318176469da0bda9838'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:35:03.295 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<iq type='result' id='c9c4365a0b305318176469da0bda9838' xmlns='jabber:client'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:35:03.295 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<presence/>
*** User 2022-01-27 15:35:03.304 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<presence from='geralt_subscribe_options_test_1882@localhost/res1' to='geralt_subscribe_options_test_1882@localhost/res1' xmlns='jabber:client'/>
*** User 2022-01-27 15:35:03.304 ***
alicE_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_subscribe_options_test_1882-pubsub.localhost-princely_musings_1AFy1BQi1DE=-create_node' from='alicE_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_1AFy1BQi1DE='/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.347 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1882@localhost/res1' id='alicE_subscribe_options_test_1882-pubsub.localhost-princely_musings_1AFy1BQi1DE=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_1AFy1BQi1DE='/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.347 ***
alicE_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='alicE_subscribe_options_test_1882-pubsub.localhost--options' from='alicE_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_1AFy1BQi1DE=' jid='alicE_subscribe_options_test_1882@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.349 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1882@localhost/res1' type='error' xml:lang='en' id='alicE_subscribe_options_test_1882-pubsub.localhost--options'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_1AFy1BQi1DE=' jid='alicE_subscribe_options_test_1882@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:35:03.349 ***
bOb_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bOb_subscribe_options_test_1882-pubsub.localhost--options' from='bOb_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_1AFy1BQi1DE=' jid='bOb_subscribe_options_test_1882@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.354 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1882@localhost/res1' type='error' xml:lang='en' id='bOb_subscribe_options_test_1882-pubsub.localhost--options'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_1AFy1BQi1DE=' jid='bOb_subscribe_options_test_1882@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:35:03.354 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='geralt_subscribe_options_test_1882-pubsub.localhost--options' from='geralt_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_1AFy1BQi1DE=' jid='geralt_subscribe_options_test_1882@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.370 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1882@localhost/res1' type='error' id='geralt_subscribe_options_test_1882-pubsub.localhost--options' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_1AFy1BQi1DE=' jid='geralt_subscribe_options_test_1882@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:35:03.370 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='geralt_subscribe_options_test_1882-pubsub.localhost-princely_musings_1AFy1BQi1DE=-subscribe' from='geralt_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_1AFy1BQi1DE=' jid='geralt_subscribe_options_test_1882@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:35:03.376 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1882@localhost/res1' id='geralt_subscribe_options_test_1882-pubsub.localhost-princely_musings_1AFy1BQi1DE=-subscribe' type='result' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='geralt_subscribe_options_test_1882@localhost/res1' subscription='subscribed' subid='1643-297703-375239' node='princely_musings_1AFy1BQi1DE='/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.377 ***
bOb_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_subscribe_options_test_1882-pubsub.localhost-princely_musings_1AFy1BQi1DE=-subscribe' from='bOb_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_1AFy1BQi1DE=' jid='bOb_subscribe_options_test_1882@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:35:03.383 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1882@localhost/res1' id='bOb_subscribe_options_test_1882-pubsub.localhost-princely_musings_1AFy1BQi1DE=-subscribe' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='bob_subscribe_options_test_1882@localhost/res1' subscription='subscribed' subid='1643-297703-381062' node='princely_musings_1AFy1BQi1DE='/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.383 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='geralt_subscribe_options_test_1882-pubsub.localhost--options' from='geralt_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_1AFy1BQi1DE=' jid='geralt_subscribe_options_test_1882@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.388 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1882@localhost/res1' id='geralt_subscribe_options_test_1882-pubsub.localhost--options' type='result' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options jid='geralt_subscribe_options_test_1882@localhost/res1' subid='1643-297703-375239' node='princely_musings_1AFy1BQi1DE='>
<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:35:03.388 ***
bOb_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bOb_subscribe_options_test_1882-pubsub.localhost--options' from='bOb_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_1AFy1BQi1DE=' jid='bOb_subscribe_options_test_1882@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.458 ***
bOb_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1882@localhost/res1' id='bOb_subscribe_options_test_1882-pubsub.localhost--options' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options jid='bob_subscribe_options_test_1882@localhost/res1' subid='1643-297703-381062' node='princely_musings_1AFy1BQi1DE='>
<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:35:03.458 ***
alicE_subscribe_options_test_1882@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_subscribe_options_test_1882-pubsub.localhost-princely_musings_1AFy1BQi1DE=-delete_node' from='alicE_subscribe_options_test_1882@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_1AFy1BQi1DE='/>
</pubsub>
</iq>
*** User 2022-01-27 15:35:03.470 ***
alicE_subscribe_options_test_1882@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1882@localhost/res1' id='alicE_subscribe_options_test_1882-pubsub.localhost-princely_musings_1AFy1BQi1DE=-delete_node' type='result'/>
*** User 2022-01-27 15:35:03.470 ***
geralt_subscribe_options_test_1882@localhost/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2022-01-27 15:35:03.470 ***
geralt_subscribe_options_test_1882@localhost/res1 in
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2022-01-27 15:35:03.470 ***
bOb_subscribe_options_test_1882@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:35:03.566 ***
bOb_subscribe_options_test_1882@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:35:03.567 ***
alicE_subscribe_options_test_1882@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:35:03.567 ***
alicE_subscribe_options_test_1882@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:35:03
=== successfully completed test case
=== === Returned value: ok