=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{push_opts,[{virtual_pubsub_hosts,[{fqdn,<<"virtual.domain">>}]},
{backend,rdbms}]},
{watchdog,<0.3542.2>},
{pubsub_host,virtual},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.push_SUITE.logs/run.2022-01-25_16.33.24/push_suite.muclight_no_msg_notifications_if_user_online.141442.html"},
{tc_group_properties,[{name,muclight_msg_notifications},
{repeat_until_all_ok,3},
parallel]},
{tc_group_path,[[{name,pubsub_less},{repeat_until_all_ok,3}]]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/push_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.push_SUITE.logs/run.2022-01-25_16.33.24/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@ebe8a8f9fc53.2022-01-25_16.21.59"
=== Started at 2022-01-25 16:33:41
*** User 2022-01-25 16:33:41.560 ***
alicE_unnamed_2099@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-25 16:33:41.560 ***
alicE_unnamed_2099@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='508353184416346f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:41.561 ***
alicE_unnamed_2099@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-25 16:33:41.561 ***
alicE_unnamed_2099@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjA5OQBtYXR5Z3J5c2E=</auth>
*** User 2022-01-25 16:33:41.562 ***
alicE_unnamed_2099@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:41.562 ***
alicE_unnamed_2099@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-25 16:33:41.562 ***
alicE_unnamed_2099@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe9d6581420ee49d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:41.562 ***
alicE_unnamed_2099@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-25 16:33:41.562 ***
alicE_unnamed_2099@localhost/res1 out
<iq type='set' id='7f47b6320870259812cc7832d0dfa858'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:41.562 ***
alicE_unnamed_2099@localhost/res1 in
<iq id='7f47b6320870259812cc7832d0dfa858' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_2099@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:41.563 ***
alicE_unnamed_2099@localhost/res1 out
<iq type='set' id='dfbad4926db2e22cc188133df385f6bb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:41.563 ***
alicE_unnamed_2099@localhost/res1 in
<iq type='result' id='dfbad4926db2e22cc188133df385f6bb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:41.563 ***
alicE_unnamed_2099@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:41.564 ***
alicE_unnamed_2099@localhost/res1 in
<presence from='alicE_unnamed_2099@localhost/res1' to='alice_unnamed_2099@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:41.565 ***
bOb_unnamed_2099@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-25 16:33:41.565 ***
bOb_unnamed_2099@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2fdbb27e9578ba7' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:41.566 ***
bOb_unnamed_2099@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-25 16:33:41.566 ***
bOb_unnamed_2099@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzIwOTkAbWFrcm9saWth</auth>
*** User 2022-01-25 16:33:41.567 ***
bOb_unnamed_2099@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:41.567 ***
bOb_unnamed_2099@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-25 16:33:41.567 ***
bOb_unnamed_2099@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95ccf3378e0fec0b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:41.567 ***
bOb_unnamed_2099@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-25 16:33:41.567 ***
bOb_unnamed_2099@localhost/res1 out
<iq type='set' id='743a01cb1cd1a9e11f5cf2cbe40d2362'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:41.567 ***
bOb_unnamed_2099@localhost/res1 in
<iq id='743a01cb1cd1a9e11f5cf2cbe40d2362' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unnamed_2099@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:41.568 ***
bOb_unnamed_2099@localhost/res1 out
<iq type='set' id='bd2a69a9ede5e278b56a8e31a7256dce'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:41.568 ***
bOb_unnamed_2099@localhost/res1 in
<iq type='result' id='bd2a69a9ede5e278b56a8e31a7256dce'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:41.568 ***
bOb_unnamed_2099@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:41.570 ***
bOb_unnamed_2099@localhost/res1 in
<presence from='bOb_unnamed_2099@localhost/res1' to='bob_unnamed_2099@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:41.570 ***
kate_unnamed_2099@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-25 16:33:41.571 ***
kate_unnamed_2099@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c64a857cbdd15de0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:41.571 ***
kate_unnamed_2099@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-25 16:33:41.572 ***
kate_unnamed_2099@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8yMDk5AG1ha3Jvd2U7cA==</auth>
*** User 2022-01-25 16:33:41.573 ***
kate_unnamed_2099@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:41.573 ***
kate_unnamed_2099@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-25 16:33:41.573 ***
kate_unnamed_2099@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b9274de5f95c1ba' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:41.573 ***
kate_unnamed_2099@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-25 16:33:41.573 ***
kate_unnamed_2099@localhost/res1 out
<iq type='set' id='481366f4e906f40d26576cd025007004'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:41.574 ***
kate_unnamed_2099@localhost/res1 in
<iq id='481366f4e906f40d26576cd025007004' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_2099@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:41.574 ***
kate_unnamed_2099@localhost/res1 out
<iq type='set' id='158ca5d8f908cbb928921c3dd06b52a1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:41.574 ***
kate_unnamed_2099@localhost/res1 in
<iq type='result' id='158ca5d8f908cbb928921c3dd06b52a1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:41.574 ***
kate_unnamed_2099@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:41.576 ***
kate_unnamed_2099@localhost/res1 in
<presence from='kate_unnamed_2099@localhost/res1' to='kate_unnamed_2099@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:41.582 ***
alicE_unnamed_2099@localhost/res1 out
<iq type='set' id='f4d7870df4ed6982b8f10c9b41392573'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_21.558695@virtual.domain' node='NodeId'/>
</iq>
*** User 2022-01-25 16:33:41.584 ***
alicE_unnamed_2099@localhost/res1 in
<iq from='alicE_unnamed_2099@localhost' to='alicE_unnamed_2099@localhost/res1' id='f4d7870df4ed6982b8f10c9b41392573' type='result'/>
*** User 2022-01-25 16:33:41.584 ***
kate_unnamed_2099@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-25 16:33:41.686 ***
bOb_unnamed_2099@localhost/res1 out
<message to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost' type='groupchat'>
<body>Heyah!</body>
</message>
*** User 2022-01-25 16:33:46.686 ***
#{msg_inbox =>
{messages,
[{stanza,<0.3593.2>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2099@localhost">>},
{<<"to">>,<<"alice_unnamed_2099@localhost">>},
{<<"id">>,<<"1643-128421-687438">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1643128421690237}},
{stanza,<0.3594.2>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2099@localhost">>},
{<<"to">>,<<"bob_unnamed_2099@localhost">>},
{<<"id">>,<<"1643-128421-687438">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1643128421692222}}]},
result => nomatch}
*** User 2022-01-25 16:33:46.687 ***
kate_unnamed_2099@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:46.687 ***
kate_unnamed_2099@localhost/res1 in
</stream:stream>
*** User 2022-01-25 16:33:46.687 ***
bOb_unnamed_2099@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:46.688 ***
bOb_unnamed_2099@localhost/res1 in
</stream:stream>
*** User 2022-01-25 16:33:46.688 ***
alicE_unnamed_2099@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:46.688 ***
alicE_unnamed_2099@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:33:46
=== successfully completed test case
=== === Returned value: ok