=== Test case: presence_SUITE:available_direct_then_disconnect/1 (click for source code)

=== Config value:

    [{watchdog,<0.5342.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/presence_suite.available_direct_then_disconnect.47362.html"},
     {tc_group_properties,[{name,presence},{repeat_until_all_ok,3},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/presence_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.presence_SUITE.logs/run.2022-03-03_10.36.28/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:36:28


*** CT 2022-03-03 10:36:28.592 *** View log from node mongooseim@localhost when started mongooseim@localhost_4521.html
*** CT 2022-03-03 10:36:28.592 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-03-03 10:36:28.608 ***
alicE_available_direct_then_disconnect_990@localhost/res1 out
<presence to='bOb_available_direct_then_disconnect_990@localhost/res1'/>



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



*** User 2022-03-03 10:36:28.609 ***
bOb_available_direct_then_disconnect_990@localhost/res1 in
<presence from='alicE_available_direct_then_disconnect_990@localhost/res1' to='bob_available_direct_then_disconnect_990@localhost/res1' type='unavailable'/>



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

*** User 2022-03-03 10:36:28.609 ***
bOb_available_direct_then_disconnect_990@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:28.613 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:36:28.614 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4521.html



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