=== Test case: pubsub_SUITE:subscribe_options_test/1 (click for source code)
=== Config value:
[{watchdog,<0.8174.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.64130.html"},
{tc_group_properties,[{name,'tree+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:35
*** User 2022-01-27 15:34:35.253 ***
alicE_subscribe_options_test_1158@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:35.254 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='593e91bb22608a7c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:35.254 ***
alicE_subscribe_options_test_1158@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:35.254 ***
alicE_subscribe_options_test_1158@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9vcHRpb25zX3Rlc3RfMTE1OABtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:34:35.255 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:35.256 ***
alicE_subscribe_options_test_1158@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:35.257 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='508400f1c7323cd6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:35.257 ***
alicE_subscribe_options_test_1158@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:35.257 ***
alicE_subscribe_options_test_1158@localhost/res1 out
<iq type='set' id='3b103924ef1cdb1051d81017313e679f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:35.258 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<iq id='3b103924ef1cdb1051d81017313e679f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_subscribe_options_test_1158@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:35.258 ***
alicE_subscribe_options_test_1158@localhost/res1 out
<iq type='set' id='15ae4b7f746cc9428120d306162cbc10'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:35.259 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<iq type='result' id='15ae4b7f746cc9428120d306162cbc10'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:35.259 ***
alicE_subscribe_options_test_1158@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:35.260 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<presence from='alicE_subscribe_options_test_1158@localhost/res1' to='alice_subscribe_options_test_1158@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:35.263 ***
bOb_subscribe_options_test_1158@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:35.265 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a21b584370664fae' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:35.265 ***
bOb_subscribe_options_test_1158@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:35.266 ***
bOb_subscribe_options_test_1158@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfb3B0aW9uc190ZXN0XzExNTgAbWFrcm9saWth</auth>
*** User 2022-01-27 15:34:35.266 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:35.267 ***
bOb_subscribe_options_test_1158@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:35.267 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c773818ab1142bdf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:35.267 ***
bOb_subscribe_options_test_1158@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:35.267 ***
bOb_subscribe_options_test_1158@localhost/res1 out
<iq type='set' id='e09bed8039769a5fc0f6f7998eb0f224'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:35.268 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<iq id='e09bed8039769a5fc0f6f7998eb0f224' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_subscribe_options_test_1158@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:35.268 ***
bOb_subscribe_options_test_1158@localhost/res1 out
<iq type='set' id='d475afa3980a002f9f82a0e663622999'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:35.268 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<iq type='result' id='d475afa3980a002f9f82a0e663622999'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:35.269 ***
bOb_subscribe_options_test_1158@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:35.269 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<presence from='bOb_subscribe_options_test_1158@localhost/res1' to='bob_subscribe_options_test_1158@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:35.307 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2022-01-27 15:34:35.308 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='d6023e82f9bd2648' from='localhost'/>
*** User 2022-01-27 15:34:35.308 ***
geralt_subscribe_options_test_1158@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:35.308 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdF9zdWJzY3JpYmVfb3B0aW9uc190ZXN0XzExNTgAd2l0Y2hlcg==</auth>
*** User 2022-01-27 15:34:35.309 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:35.309 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2022-01-27 15:34:35.310 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='db56ca004621ae25' from='localhost'/>
*** User 2022-01-27 15:34:35.310 ***
geralt_subscribe_options_test_1158@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:35.310 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<iq type='set' id='71d2c62de13d4b8f6f30a9cd46b28627'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:35.311 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<iq id='71d2c62de13d4b8f6f30a9cd46b28627' type='result' xmlns='jabber:client'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>geralt_subscribe_options_test_1158@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:35.312 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<iq type='set' id='5d1f9cdcb65bc43795e3f82a041c5795'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:35.312 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<iq type='result' id='5d1f9cdcb65bc43795e3f82a041c5795' xmlns='jabber:client'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:35.313 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:35.315 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<presence from='geralt_subscribe_options_test_1158@localhost/res1' to='geralt_subscribe_options_test_1158@localhost/res1' xmlns='jabber:client'/>
*** User 2022-01-27 15:34:35.315 ***
alicE_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_subscribe_options_test_1158-pubsub.localhost-princely_musings_kuDo2ZvVyac=-create_node' from='alicE_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_kuDo2ZvVyac='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.318 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1158@localhost/res1' id='alicE_subscribe_options_test_1158-pubsub.localhost-princely_musings_kuDo2ZvVyac=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_kuDo2ZvVyac='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.318 ***
alicE_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='alicE_subscribe_options_test_1158-pubsub.localhost--options' from='alicE_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_kuDo2ZvVyac=' jid='alicE_subscribe_options_test_1158@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.319 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1158@localhost/res1' type='error' xml:lang='en' id='alicE_subscribe_options_test_1158-pubsub.localhost--options'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_kuDo2ZvVyac=' jid='alicE_subscribe_options_test_1158@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:35.319 ***
bOb_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bOb_subscribe_options_test_1158-pubsub.localhost--options' from='bOb_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_kuDo2ZvVyac=' jid='bOb_subscribe_options_test_1158@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.319 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1158@localhost/res1' type='error' xml:lang='en' id='bOb_subscribe_options_test_1158-pubsub.localhost--options'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_kuDo2ZvVyac=' jid='bOb_subscribe_options_test_1158@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:35.319 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='geralt_subscribe_options_test_1158-pubsub.localhost--options' from='geralt_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_kuDo2ZvVyac=' jid='geralt_subscribe_options_test_1158@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.320 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1158@localhost/res1' type='error' id='geralt_subscribe_options_test_1158-pubsub.localhost--options' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_kuDo2ZvVyac=' jid='geralt_subscribe_options_test_1158@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:35.320 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='geralt_subscribe_options_test_1158-pubsub.localhost-princely_musings_kuDo2ZvVyac=-subscribe' from='geralt_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_kuDo2ZvVyac=' jid='geralt_subscribe_options_test_1158@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:35.321 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1158@localhost/res1' id='geralt_subscribe_options_test_1158-pubsub.localhost-princely_musings_kuDo2ZvVyac=-subscribe' type='result' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='geralt_subscribe_options_test_1158@localhost/res1' subscription='subscribed' subid='1643-297675-321424' node='princely_musings_kuDo2ZvVyac='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.321 ***
bOb_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_subscribe_options_test_1158-pubsub.localhost-princely_musings_kuDo2ZvVyac=-subscribe' from='bOb_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe node='princely_musings_kuDo2ZvVyac=' jid='bOb_subscribe_options_test_1158@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:35.322 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1158@localhost/res1' id='bOb_subscribe_options_test_1158-pubsub.localhost-princely_musings_kuDo2ZvVyac=-subscribe' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscription jid='bob_subscribe_options_test_1158@localhost/res1' subscription='subscribed' subid='1643-297675-322246' node='princely_musings_kuDo2ZvVyac='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.322 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='geralt_subscribe_options_test_1158-pubsub.localhost--options' from='geralt_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_kuDo2ZvVyac=' jid='geralt_subscribe_options_test_1158@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.323 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='geralt_subscribe_options_test_1158@localhost/res1' id='geralt_subscribe_options_test_1158-pubsub.localhost--options' type='result' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options jid='geralt_subscribe_options_test_1158@localhost/res1' subid='1643-297675-321424' node='princely_musings_kuDo2ZvVyac='>
<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:35.323 ***
bOb_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='get' id='bOb_subscribe_options_test_1158-pubsub.localhost--options' from='bOb_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options node='princely_musings_kuDo2ZvVyac=' jid='bOb_subscribe_options_test_1158@localhost/res1'/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.324 ***
bOb_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_subscribe_options_test_1158@localhost/res1' id='bOb_subscribe_options_test_1158-pubsub.localhost--options' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<options jid='bob_subscribe_options_test_1158@localhost/res1' subid='1643-297675-322246' node='princely_musings_kuDo2ZvVyac='>
<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:35.324 ***
alicE_subscribe_options_test_1158@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_subscribe_options_test_1158-pubsub.localhost-princely_musings_kuDo2ZvVyac=-delete_node' from='alicE_subscribe_options_test_1158@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_kuDo2ZvVyac='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:35.426 ***
alicE_subscribe_options_test_1158@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_subscribe_options_test_1158@localhost/res1' id='alicE_subscribe_options_test_1158-pubsub.localhost-princely_musings_kuDo2ZvVyac=-delete_node' type='result'/>
*** User 2022-01-27 15:34:35.426 ***
geralt_subscribe_options_test_1158@localhost/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2022-01-27 15:34:35.427 ***
geralt_subscribe_options_test_1158@localhost/res1 in
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2022-01-27 15:34:35.427 ***
bOb_subscribe_options_test_1158@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:35.536 ***
bOb_subscribe_options_test_1158@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:35.536 ***
alicE_subscribe_options_test_1158@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:35.536 ***
alicE_subscribe_options_test_1158@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:35
=== successfully completed test case
=== === Returned value: ok