=== 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,rdbms},
                         {virtual_pubsub_hosts,
                             [{prefix,<<"virtual.">>}]}]}]}]}]},
     {watchdog,<0.7823.2>},
     {pubsub_host,virtual},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/push_integration_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.push_integration_SUITE.logs/run.2022-03-04_11.27.10/push_integration_suite.pm_msg_notify_on_apns_w_topic.157186.html"},
     {tc_group_properties,[{name,pm_msg_notifications},parallel]},
     {tc_group_path,[[{name,pubsub_less}]]},
     {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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.push_integration_SUITE.logs/run.2022-03-04_11.27.10/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:27:22


*** CT 2022-03-04 11:27:22.192 *** View log from node mongooseim@localhost when started mongooseim@localhost_5701.html
*** CT 2022-03-04 11:27:22.193 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

*** User 2022-03-04 11:27:22.210 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@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-04 11:27:22.211 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad188a3b0e6cc5f6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.211 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@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-03-04 11:27:22.211 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9wbV9tc2dfbm90aWZ5X29uX2FwbnNfd190b3BpY18xOTU1AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-04 11:27:22.212 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:27:22.212 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@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-04 11:27:22.213 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29d89b04613a2859' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.213 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@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-04 11:27:22.213 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<iq type='set' id='261c37f0d917fe8f1f6c6f5414f94d06'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.213 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<iq id='261c37f0d917fe8f1f6c6f5414f94d06' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.214 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<iq type='set' id='e57c41b9d1a1ada5fd3b36b705e91753'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.214 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<iq type='result' id='e57c41b9d1a1ada5fd3b36b705e91753'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.214 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<presence/>



*** User 2022-03-04 11:27:22.217 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<presence from='bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1' to='bob_pm_msg_notify_on_apns_w_topic_1955@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:27:22.217 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@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-04 11:27:22.218 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='255b9e92b018ed28' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.218 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@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-03-04 11:27:22.218 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3BtX21zZ19ub3RpZnlfb25fYXBuc193X3RvcGljXzE5NTUAbWF0eWdyeXNh</auth>



*** User 2022-03-04 11:27:22.246 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:27:22.246 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@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-04 11:27:22.247 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfe60c57500c7100' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.247 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@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-04 11:27:22.247 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<iq type='set' id='0012b3a0d408d28da9393851bdb434c7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.248 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<iq id='0012b3a0d408d28da9393851bdb434c7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.248 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<iq type='set' id='ef8ae489ce3704f5ffba01c8bcd7facb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.248 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<iq type='result' id='ef8ae489ce3704f5ffba01c8bcd7facb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.248 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<presence/>



*** User 2022-03-04 11:27:22.250 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<presence from='alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1' to='alice_pm_msg_notify_on_apns_w_topic_1955@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:27:22.250 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<iq type='set' id='f78fcdb3ac78e06957cb0b7be9c4b043'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_d0w8HHSjj74='>
		<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>A1AI6A0E6N0677A4BJJ04K2C5M1A</value>
			</field>
			<field var='topic'>
				<value>some_topic</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-03-04 11:27:22.256 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
<iq from='bOb_pm_msg_notify_on_apns_w_topic_1955@localhost' to='bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1' id='f78fcdb3ac78e06957cb0b7be9c4b043' type='result'/>



*** User 2022-03-04 11:27:22.257 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-03-04 11:27:22.358 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
<message to='bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2022-03-04 11:27:22.361 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:27:22.361 ***
alicE_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:27:22.361 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:27:22.362 ***
bOb_pm_msg_notify_on_apns_w_topic_1955@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:27:22.365 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:27:22.366 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5705.html



=== Ended at 2022-03-04 11:27:22
=== successfully completed test case
=== === Returned value: ok