=== Test case: muc_SUITE:send_history/1 (click for source code)

=== Config value:

    [{watchdog,<0.31969.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_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.muc_SUITE.logs/run.2022-03-03_10.35.57/muc_suite.send_history.9221.html"},
     {tc_group_properties,[{name,occupant},{repeat_until_all_ok,3},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.35.57/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)">>}]}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== 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:36:12


*** CT 2022-03-03 10:36:12.697 *** View log from node mongooseim@localhost when started mongooseim@localhost_4471.html
*** CT 2022-03-03 10:36:12.698 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2321.html

*** User 2022-03-03 10:36:12.791 ***
alicE_send_history_748@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:36:12.791 ***
alicE_send_history_748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='821b60b851c51333' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.792 ***
alicE_send_history_748@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:36:12.792 ***
alicE_send_history_748@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfaGlzdG9yeV83NDgAbWF0eWdyeXNh</auth>



*** User 2022-03-03 10:36:12.797 ***
alicE_send_history_748@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:12.797 ***
alicE_send_history_748@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:36:12.798 ***
alicE_send_history_748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03d9c1a5df473551' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.798 ***
alicE_send_history_748@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:36:12.798 ***
alicE_send_history_748@localhost/res1 out
<iq type='set' id='ba103ad95332a23ce4f1a83735544982'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.799 ***
alicE_send_history_748@localhost/res1 in
<iq id='ba103ad95332a23ce4f1a83735544982' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_send_history_748@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.799 ***
alicE_send_history_748@localhost/res1 out
<iq type='set' id='af172f359e97dc753ea7f0a4f3bfbe64'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.800 ***
alicE_send_history_748@localhost/res1 in
<iq type='result' id='af172f359e97dc753ea7f0a4f3bfbe64'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.800 ***
alicE_send_history_748@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:12.801 ***
alicE_send_history_748@localhost/res1 in
<presence from='alicE_send_history_748@localhost/res1' to='alice_send_history_748@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:12.802 ***
bOb_send_history_748@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:36:12.804 ***
bOb_send_history_748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1b85acacfbe0b3b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.805 ***
bOb_send_history_748@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:36:12.805 ***
bOb_send_history_748@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX2hpc3RvcnlfNzQ4AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:36:12.808 ***
bOb_send_history_748@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:12.808 ***
bOb_send_history_748@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:36:12.808 ***
bOb_send_history_748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ce47e21b2fb6c54' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.809 ***
bOb_send_history_748@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:36:12.809 ***
bOb_send_history_748@localhost/res1 out
<iq type='set' id='9602b0d57c59c4296867fd22a5a6ca98'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.809 ***
bOb_send_history_748@localhost/res1 in
<iq id='9602b0d57c59c4296867fd22a5a6ca98' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_send_history_748@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.809 ***
bOb_send_history_748@localhost/res1 out
<iq type='set' id='3d842c973701d19286a6da6cc34a318f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.875 ***
bOb_send_history_748@localhost/res1 in
<iq type='result' id='3d842c973701d19286a6da6cc34a318f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.876 ***
bOb_send_history_748@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:12.877 ***
bOb_send_history_748@localhost/res1 in
<presence from='bOb_send_history_748@localhost/res1' to='bob_send_history_748@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:12.879 ***
kate_send_history_748@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:36:12.881 ***
kate_send_history_748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='415876bc2ab42c9e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.881 ***
kate_send_history_748@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:36:12.881 ***
kate_send_history_748@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9oaXN0b3J5Xzc0OABtYWtyb3dlO3A=</auth>



*** User 2022-03-03 10:36:12.887 ***
kate_send_history_748@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:12.887 ***
kate_send_history_748@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:36:12.888 ***
kate_send_history_748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1f11f7f435b751f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.888 ***
kate_send_history_748@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:36:12.888 ***
kate_send_history_748@localhost/res1 out
<iq type='set' id='8cc143aa3f840be185ffa15b83d2c142'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.888 ***
kate_send_history_748@localhost/res1 in
<iq id='8cc143aa3f840be185ffa15b83d2c142' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_history_748@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.889 ***
kate_send_history_748@localhost/res1 out
<iq type='set' id='69508da60e34633d00d1d6ad8ca4d248'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.890 ***
kate_send_history_748@localhost/res1 in
<iq type='result' id='69508da60e34633d00d1d6ad8ca4d248'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.890 ***
kate_send_history_748@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:12.892 ***
kate_send_history_748@localhost/res1 in
<presence from='kate_send_history_748@localhost/res1' to='kate_send_history_748@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:12.892 ***
alicE_send_history_748@localhost/res1 out
<presence to='room-alice_send_history_748@muc.localhost/alicE_send_history_748'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-03 10:36:12.893 ***
alicE_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/alicE_send_history_748' to='alicE_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alicE_send_history_748@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.894 ***
alicE_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost' to='alicE_send_history_748@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-03 10:36:12.894 ***
bOb_send_history_748@localhost/res1 out
<presence to='room-alice_send_history_748@muc.localhost/bOb_send_history_748'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-03 10:36:12.896 ***
bOb_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/alicE_send_history_748' to='bOb_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.896 ***
bOb_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/bOb_send_history_748' to='bOb_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.896 ***
bOb_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost' to='bOb_send_history_748@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-03 10:36:12.897 ***
alicE_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/bOb_send_history_748' to='alicE_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bOb_send_history_748@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.897 ***
alicE_send_history_748@localhost/res1 out
<message to='room-alice_send_history_748@muc.localhost' type='groupchat'>
	<body>Hi, Bob!</body>
</message>



*** User 2022-03-03 10:36:12.898 ***
alicE_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost/alicE_send_history_748' to='alicE_send_history_748@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Hi, Bob!</body>
</message>



*** User 2022-03-03 10:36:12.899 ***
bOb_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost/alicE_send_history_748' to='bOb_send_history_748@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Hi, Bob!</body>
</message>



*** User 2022-03-03 10:36:12.899 ***
bOb_send_history_748@localhost/res1 out
<message to='room-alice_send_history_748@muc.localhost' type='groupchat'>
	<body>Hi, Alice!</body>
</message>



*** User 2022-03-03 10:36:12.900 ***
alicE_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost/bOb_send_history_748' to='alicE_send_history_748@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Hi, Alice!</body>
</message>



*** User 2022-03-03 10:36:12.900 ***
bOb_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost/bOb_send_history_748' to='bOb_send_history_748@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Hi, Alice!</body>
</message>



*** User 2022-03-03 10:36:12.900 ***
kate_send_history_748@localhost/res1 out
<presence to='room-alice_send_history_748@muc.localhost/kate_send_history_748'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-03 10:36:12.903 ***
alicE_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/kate_send_history_748' to='alicE_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_send_history_748@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.903 ***
bOb_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/kate_send_history_748' to='bOb_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.903 ***
kate_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/alicE_send_history_748' to='kate_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.903 ***
kate_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/bOb_send_history_748' to='kate_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.904 ***
kate_send_history_748@localhost/res1 in
<presence from='room-alice_send_history_748@muc.localhost/kate_send_history_748' to='kate_send_history_748@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.904 ***
kate_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost/alicE_send_history_748' to='kate_send_history_748@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Hi, Bob!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T10:36:12Z' from='room-alice_send_history_748@muc.localhost'/>
</message>



*** User 2022-03-03 10:36:12.904 ***
kate_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost/bOb_send_history_748' to='kate_send_history_748@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Hi, Alice!</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T10:36:12Z' from='room-alice_send_history_748@muc.localhost'/>
</message>



*** User 2022-03-03 10:36:12.904 ***
kate_send_history_748@localhost/res1 in
<message from='room-alice_send_history_748@muc.localhost' to='kate_send_history_748@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-03 10:36:12.904 ***
kate_send_history_748@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:12.905 ***
kate_send_history_748@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:12.906 ***
bOb_send_history_748@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:12.907 ***
bOb_send_history_748@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:12.907 ***
alicE_send_history_748@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:12.907 ***
alicE_send_history_748@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:12.980 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2321.html
*** CT 2022-03-03 10:36:12.980 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4471.html



=== Ended at 2022-03-03 10:36:13
=== successfully completed test case
=== === Returned value: ok