=== Test case: push_integration_SUITE:pm_msg_notify_on_apns_w_topic/1 (click for source code)
=== Config value:
[{api_v,"v3"},
{required_modules,
[{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.9755.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.push_integration_SUITE.logs/run.2022-01-27_15.33.23/push_integration_suite.pm_msg_notify_on_apns_w_topic.27652.html"},
{tc_group_properties,[{name,pm_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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.push_integration_SUITE.logs/run.2022-01-27_15.33.23/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@d66972e2ee88.2022-01-27_15.24.27"
=== Started at 2022-01-27 15:33:24
*** User 2022-01-27 15:33:24.244 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@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:33:24.245 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='272ff76976936526' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:24.245 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@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-01-27 15:33:24.245 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9wbV9tc2dfbm90aWZ5X29uX2FwbnNfd190b3BpY18xMDQyAG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:33:24.248 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:24.248 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@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:33:24.248 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d032c49fcf44b4f9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:24.248 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@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:33:24.249 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<iq type='set' id='c64d23a154662289f59403f1bb154507'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:24.249 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<iq id='c64d23a154662289f59403f1bb154507' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:24.249 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<iq type='set' id='6edafd0a12495614228c78eb92199b06'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:24.250 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<iq type='result' id='6edafd0a12495614228c78eb92199b06'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:24.250 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:24.251 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<presence from='bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1' to='bob_pm_msg_notify_on_apns_w_topic_1042@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:24.252 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@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:33:24.253 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03107cd2b077d9aa' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:24.254 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@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-01-27 15:33:24.254 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3BtX21zZ19ub3RpZnlfb25fYXBuc193X3RvcGljXzEwNDIAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:33:24.273 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:24.273 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@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:33:24.274 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da390ac4dfc9e7b2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:24.274 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@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:33:24.274 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<iq type='set' id='5a2eec0f407fb44a60f328e9f468bbf8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:24.274 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<iq id='5a2eec0f407fb44a60f328e9f468bbf8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:24.274 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<iq type='set' id='9aadb3180888491a2f258e1c7e442f02'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:24.275 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<iq type='result' id='9aadb3180888491a2f258e1c7e442f02'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:24.275 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:24.276 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<presence from='alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1' to='alice_pm_msg_notify_on_apns_w_topic_1042@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:24.276 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_pm_msg_notify_on_apns_w_topic_1042-pubsub.localhost-princely_musings_PX4Lt5uVS9E=-create_node' from='bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create type='push' node='princely_musings_PX4Lt5uVS9E='/>
<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-01-27 15:33:24.277 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1' id='bOb_pm_msg_notify_on_apns_w_topic_1042-pubsub.localhost-princely_musings_PX4Lt5uVS9E=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_PX4Lt5uVS9E='/>
</pubsub>
</iq>
*** User 2022-01-27 15:33:24.277 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='j2cUeLQ=' from='bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<affiliations node='princely_musings_PX4Lt5uVS9E='>
<affiliation jid='localhost' affiliation='publish-only'/>
</affiliations>
</pubsub>
</iq>
*** User 2022-01-27 15:33:24.278 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1' id='j2cUeLQ=' type='result'/>
*** User 2022-01-27 15:33:24.278 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<iq type='set' id='7688ef275abd92e249a9352d7caef67b'>
<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_PX4Lt5uVS9E='>
<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>63DJ9N852LLLLHLLDB11MKNF8CE6</value>
</field>
<field var='topic'>
<value>some_topic</value>
</field>
</x>
</enable>
</iq>
*** User 2022-01-27 15:33:24.279 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
<iq from='bOb_pm_msg_notify_on_apns_w_topic_1042@localhost' to='bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1' id='7688ef275abd92e249a9352d7caef67b' type='result'/>
*** User 2022-01-27 15:33:24.279 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-27 15:33:24.686 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
<message to='bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1' type='chat'>
<body>OH, HAI!</body>
</message>
*** User 2022-01-27 15:33:24.724 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:24.726 ***
alicE_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:33:24.726 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:24.726 ***
bOb_pm_msg_notify_on_apns_w_topic_1042@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:33:24
=== successfully completed test case
=== === Returned value: ok