=== Test case: push_integration_SUITE:muclight_msg_notify_on_w_topic/1 (click for source code)
=== Config value:
[{api_v,"v3"},
{required_modules,
[{mod_muc_light,
[{host,{fqdn,<<"muclight.localhost">>}},
{backend,mnesia},
{rooms_in_rosters,true}]},
{mod_push_service_mongoosepush,
[{pool_name,mongoose_push_http},{api_version,"v3"}]},
{mod_event_pusher,[{backends,[{push,[{backend,mnesia}]}]}]},
{mod_pubsub,
[{plugins,[<<"dag">>,<<"push">>]},
{backend,mnesia},
{nodetree,<<"dag">>},
{host,{prefix,<<"pubsub.">>}}]}]},
{watchdog,<0.11424.1>},
{pubsub_host,real},
{mim_data_dir,
"/home/circleci/project/big_tests/tests/push_integration_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,
"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.push_integration_SUITE.logs/run.2022-03-03_10.38.50/push_integration_suite.muclight_msg_notify_on_w_topic.72450.html"},
{tc_group_properties,[{name,muclight_msg_notifications},parallel]},
{tc_group_path,[[{name,pubsub_ful}]]},
{data_dir,
"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/push_integration_SUITE_data/"},
{priv_dir,
"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.push_integration_SUITE.logs/run.2022-03-03_10.38.50/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@fdcb4a001941.2022-03-03_10.29.25"
=== Started at 2022-03-03 10:38:51
*** User 2022-03-03 10:38:51.059 ***
alicE_muclight_msg_notify_on_w_topic_1092@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:38:51.060 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d56a14586e9a040e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:51.060 ***
alicE_muclight_msg_notify_on_w_topic_1092@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:38:51.060 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX211Y2xpZ2h0X21zZ19ub3RpZnlfb25fd190b3BpY18xMDkyAG1hdHlncnlzYQ==</auth>
*** User 2022-03-03 10:38:51.063 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:38:51.063 ***
alicE_muclight_msg_notify_on_w_topic_1092@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:38:51.075 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7fb41aa8c0644370' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:51.075 ***
alicE_muclight_msg_notify_on_w_topic_1092@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:38:51.076 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<iq type='set' id='92224950595089b008b42ab28ead88f7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:38:51.076 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<iq id='92224950595089b008b42ab28ead88f7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:38:51.076 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<iq type='set' id='bc1b280be61204dcef2510b496912eb5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:38:51.076 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<iq type='result' id='bc1b280be61204dcef2510b496912eb5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:38:51.077 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<presence/>
*** User 2022-03-03 10:38:51.078 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<presence from='alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1' to='alice_muclight_msg_notify_on_w_topic_1092@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:38:51.078 ***
bOb_muclight_msg_notify_on_w_topic_1092@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:38:51.079 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9dcf4e1a687eda2f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:51.079 ***
bOb_muclight_msg_notify_on_w_topic_1092@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:38:51.079 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tdWNsaWdodF9tc2dfbm90aWZ5X29uX3dfdG9waWNfMTA5MgBtYWtyb2xpa2E=</auth>
*** User 2022-03-03 10:38:51.082 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:38:51.082 ***
bOb_muclight_msg_notify_on_w_topic_1092@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:38:51.083 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59cb6290da5d802f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:51.083 ***
bOb_muclight_msg_notify_on_w_topic_1092@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:38:51.083 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<iq type='set' id='58a3405b533d20dec150bdc8d85f2617'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:38:51.083 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<iq id='58a3405b533d20dec150bdc8d85f2617' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:38:51.084 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<iq type='set' id='a1618962c59ebbb0d0b3574d24126f37'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:38:51.084 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<iq type='result' id='a1618962c59ebbb0d0b3574d24126f37'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:38:51.084 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<presence/>
*** User 2022-03-03 10:38:51.085 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<presence from='bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1' to='bob_muclight_msg_notify_on_w_topic_1092@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:38:51.085 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<iq type='set' id='9bf5692ed925a4cf9be8ca1fa6a78ea0' to='room-5c8b4932dc@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#create'>
<configuration/>
<occupants>
<user affiliation='member'>bob_muclight_msg_notify_on_w_topic_1092@localhost</user>
</occupants>
</query>
</iq>
*** User 2022-03-03 10:38:51.087 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<message from='room-5c8b4932dc@muclight.localhost' to='alice_muclight_msg_notify_on_w_topic_1092@localhost' id='9bf5692ed925a4cf9be8ca1fa6a78ea0' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-303931-86860</version>
<user affiliation='owner'>alice_muclight_msg_notify_on_w_topic_1092@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-03 10:38:51.087 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<message from='room-5c8b4932dc@muclight.localhost' to='bob_muclight_msg_notify_on_w_topic_1092@localhost' id='9bf5692ed925a4cf9be8ca1fa6a78ea0' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-303931-86860</version>
<user affiliation='member'>bob_muclight_msg_notify_on_w_topic_1092@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-03 10:38:51.088 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<iq from='room-5c8b4932dc@muclight.localhost' to='alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1' id='9bf5692ed925a4cf9be8ca1fa6a78ea0' type='result'/>
*** User 2022-03-03 10:38:51.088 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_muclight_msg_notify_on_w_topic_1092-pubsub.localhost-princely_musings_3QQ3OG7p1bY=-create_node' from='bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create type='push' node='princely_musings_3QQ3OG7p1bY='/>
<configure>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>http://jabber.org/protocol/pubsub#node_config</value>
</field>
<field var='pubsub#access_model'>
<value>whitelist</value>
</field>
<field var='pubsub#publish_model'>
<value>publishers</value>
</field>
</x>
</configure>
</pubsub>
</iq>
*** User 2022-03-03 10:38:51.101 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1' id='bOb_muclight_msg_notify_on_w_topic_1092-pubsub.localhost-princely_musings_3QQ3OG7p1bY=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_3QQ3OG7p1bY='/>
</pubsub>
</iq>
*** User 2022-03-03 10:38:51.101 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='RuzzSYw=' from='bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<affiliations node='princely_musings_3QQ3OG7p1bY='>
<affiliation jid='localhost' affiliation='publish-only'/>
</affiliations>
</pubsub>
</iq>
*** User 2022-03-03 10:38:51.102 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1' id='RuzzSYw=' type='result'/>
*** User 2022-03-03 10:38:51.102 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<iq type='set' id='dfca1de9056953da92f0cb83ab554d6c'>
<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_3QQ3OG7p1bY='>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>http://jabber.org/protocol/pubsub#publish-options</value>
</field>
<field var='service'>
<value>apns</value>
</field>
<field var='device_id'>
<value>E8008AGF1J1GBFK5MCN5JC91B24F</value>
</field>
<field var='topic'>
<value>some_topic</value>
</field>
</x>
</enable>
</iq>
*** User 2022-03-03 10:38:51.103 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
<iq from='bOb_muclight_msg_notify_on_w_topic_1092@localhost' to='bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1' id='dfca1de9056953da92f0cb83ab554d6c' type='result'/>
*** User 2022-03-03 10:38:51.103 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-03-03 10:38:51.507 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
<message to='room-5c8b4932dc@muclight.localhost' type='groupchat'>
<body>Heyah!</body>
</message>
*** User 2022-03-03 10:38:51.512 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:38:51.531 ***
bOb_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:38:51.531 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:38:51.532 ***
alicE_muclight_msg_notify_on_w_topic_1092@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:38:51
=== successfully completed test case
=== === Returned value: ok