=== Test case: mam_send_message_SUITE:mam_pm_send_message/1 (click for source code)

=== Config value:

    [{props,[{mam_ns,<<"urn:xmpp:mam:2">>}]},
     {watchdog,<0.10503.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mam_send_message_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mam_send_message_SUITE.logs/run.2022-02-02_15.11.43/mam_send_message_suite.mam_pm_send_message.html"},
     {tc_group_properties,[{name,send_message}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mam_send_message_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mam_send_message_SUITE.logs/run.2022-02-02_15.11.43/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:11:43


*** CT 2022-02-02 15:11:43.500 *** View log from node mongooseim@localhost when started mongooseim@localhost_1804.html
*** CT 2022-02-02 15:11:43.501 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_519.html

*** User 2022-02-02 15:11:43.508 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:11:43.510 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='01caa8670302f4e4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:11:43.510 ***
alicE_mam_pm_send_message_1330@domain.example.com/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-02-02 15:11:43.510 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hbV9wbV9zZW5kX21lc3NhZ2VfMTMzMABtYXR5Z3J5c2E=</auth>



*** User 2022-02-02 15:11:43.511 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:11:43.511 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:11:43.512 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69b4ad5f846d3d32' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:11:43.512 ***
alicE_mam_pm_send_message_1330@domain.example.com/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-02-02 15:11:43.512 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
<iq type='set' id='5b85754cdf4f9ee2c70179513ca00648'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:11:43.512 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
<iq id='5b85754cdf4f9ee2c70179513ca00648' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_mam_pm_send_message_1330@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:11:43.512 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
<iq type='set' id='0b7517854b042cceb4bf930d0f3cbc14'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:11:43.513 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
<iq type='result' id='0b7517854b042cceb4bf930d0f3cbc14'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:11:43.513 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:11:43.514 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
<presence from='alicE_mam_pm_send_message_1330@domain.example.com/res1' to='alice_mam_pm_send_message_1330@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:11:43.515 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:11:43.515 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f074ee5f01d60a5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:11:43.515 ***
bOb_mam_pm_send_message_1330@domain.example.com/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-02-02 15:11:43.516 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYW1fcG1fc2VuZF9tZXNzYWdlXzEzMzAAbWFrcm9saWth</auth>



*** User 2022-02-02 15:11:43.516 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:11:43.516 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:11:43.517 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8843ada4e8b7941a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:11:43.517 ***
bOb_mam_pm_send_message_1330@domain.example.com/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-02-02 15:11:43.517 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 out
<iq type='set' id='216f6dbc3f8f7f8fee1ea7442650ff92'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:11:43.517 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 in
<iq id='216f6dbc3f8f7f8fee1ea7442650ff92' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_mam_pm_send_message_1330@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:11:43.517 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 out
<iq type='set' id='1a34c4aa5e7d994d8a542d76f1bb5195'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:11:43.517 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 in
<iq type='result' id='1a34c4aa5e7d994d8a542d76f1bb5195'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:11:43.517 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:11:43.519 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 in
<presence from='bOb_mam_pm_send_message_1330@domain.example.com/res1' to='bob_mam_pm_send_message_1330@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:11:43.520 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
<message to='bOb_mam_pm_send_message_1330@domain.example.com/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2022-02-02 15:11:43.522 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 in
<message from='alicE_mam_pm_send_message_1330@domain.example.com/res1' to='bOb_mam_pm_send_message_1330@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>OH, HAI!</body>
	<stanza-id by='bOb_mam_pm_send_message_1330@domain.example.com' id='BLOADTTDJV81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:11:45.560 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
<iq type='set' id='4f5bb76831a1c65aa3def6ceb70bd8e7'>
	<query xmlns='urn:xmpp:mam:2' queryid='q1'>
		<x xmlns='jabber:x:data'/>
	</query>
</iq>



*** User 2022-02-02 15:11:45.562 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
<message from='alicE_mam_pm_send_message_1330@domain.example.com' to='alicE_mam_pm_send_message_1330@domain.example.com/res1' id='2c833d39-d94f-4aa9-bf21-137259ece6cc'>
	<result queryid='q1' xmlns='urn:xmpp:mam:2' id='BLOADTTDJV01'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:11:43Z' from='alice_mam_pm_send_message_1330@domain.example.com/res1'/>
			<message from='alice_mam_pm_send_message_1330@domain.example.com/res1' xmlns='jabber:client' xml:lang='en' to='bOb_mam_pm_send_message_1330@domain.example.com/res1' type='chat'>
				<body>OH, HAI!</body>
			</message>
		</forwarded>
		<some_hash value='14'/>
	</result>
</message>



*** User 2022-02-02 15:11:45.562 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
<iq from='alicE_mam_pm_send_message_1330@domain.example.com' to='alicE_mam_pm_send_message_1330@domain.example.com/res1' id='4f5bb76831a1c65aa3def6ceb70bd8e7' type='result'>
	<fin xmlns='urn:xmpp:mam:2' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BLOADTTDJV01</first>
			<last>BLOADTTDJV01</last>
			<count>1</count>
		</set>
	</fin>
</iq>



*** User 2022-02-02 15:11:45.562 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:11:45.563 ***
bOb_mam_pm_send_message_1330@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:11:45.563 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:11:45.563 ***
alicE_mam_pm_send_message_1330@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:11:45.565 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_519.html
*** CT 2022-02-02 15:11:45.565 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1805.html



=== Ended at 2022-02-02 15:11:45
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result