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

=== Config value:

    [{watchdog,<0.8350.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@8df352b23b1e.2022-04-29_13.53.53/big_tests.tests.presence_SUITE.logs/run.2022-04-29_14.01.50/presence_suite.available_direct.54530.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@8df352b23b1e.2022-04-29_13.53.53/big_tests.tests.presence_SUITE.logs/run.2022-04-29_14.01.50/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@8df352b23b1e.2022-04-29_13.53.53"

=== Started at 2022-04-29 14:01:50


*** CT 2022-04-29 14:01:50.881 *** View log from node mongooseim@localhost when started mongooseim@localhost_5090.html
*** CT 2022-04-29 14:01:50.881 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1943.html

*** User 2022-04-29 14:01:50.892 ***
alicE_available_direct_1089@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-04-29 14:01:50.893 ***
alicE_available_direct_1089@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5217fd996787b394' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 14:01:50.893 ***
alicE_available_direct_1089@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-04-29 14:01:50.893 ***
alicE_available_direct_1089@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfMTA4OQBtYXR5Z3J5c2E=</auth>



*** User 2022-04-29 14:01:50.894 ***
alicE_available_direct_1089@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-29 14:01:50.894 ***
alicE_available_direct_1089@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-04-29 14:01:50.894 ***
alicE_available_direct_1089@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45e3c432a688d4b5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 14:01:50.894 ***
alicE_available_direct_1089@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-04-29 14:01:50.894 ***
alicE_available_direct_1089@localhost/res1 out
<iq type='set' id='1ac083e912c05fe7cea9d4637ca2ccf9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-29 14:01:50.895 ***
alicE_available_direct_1089@localhost/res1 in
<iq id='1ac083e912c05fe7cea9d4637ca2ccf9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_available_direct_1089@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-29 14:01:50.895 ***
alicE_available_direct_1089@localhost/res1 out
<iq type='set' id='332591601bb4d7e7846876f5b463ed71'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:01:50.895 ***
alicE_available_direct_1089@localhost/res1 in
<iq type='result' id='332591601bb4d7e7846876f5b463ed71'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:01:50.895 ***
alicE_available_direct_1089@localhost/res1 out
<presence/>



*** User 2022-04-29 14:01:50.896 ***
alicE_available_direct_1089@localhost/res1 in
<presence from='alicE_available_direct_1089@localhost/res1' to='alice_available_direct_1089@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 14:01:50.897 ***
bOb_available_direct_1089@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-04-29 14:01:50.897 ***
bOb_available_direct_1089@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='096945285f61a632' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 14:01:50.897 ***
bOb_available_direct_1089@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-04-29 14:01:50.897 ***
bOb_available_direct_1089@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0XzEwODkAbWFrcm9saWth</auth>



*** User 2022-04-29 14:01:50.898 ***
bOb_available_direct_1089@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-29 14:01:50.898 ***
bOb_available_direct_1089@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-04-29 14:01:50.899 ***
bOb_available_direct_1089@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a6cc0f9caeb45ed' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 14:01:50.899 ***
bOb_available_direct_1089@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-04-29 14:01:50.899 ***
bOb_available_direct_1089@localhost/res1 out
<iq type='set' id='e414b19e26641f6f8ad97e178ac92d66'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-29 14:01:50.899 ***
bOb_available_direct_1089@localhost/res1 in
<iq id='e414b19e26641f6f8ad97e178ac92d66' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_available_direct_1089@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-29 14:01:50.899 ***
bOb_available_direct_1089@localhost/res1 out
<iq type='set' id='39b9467a877e7fa324ce8f8c9b38941e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:01:50.899 ***
bOb_available_direct_1089@localhost/res1 in
<iq type='result' id='39b9467a877e7fa324ce8f8c9b38941e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:01:50.899 ***
bOb_available_direct_1089@localhost/res1 out
<presence/>



*** User 2022-04-29 14:01:50.900 ***
bOb_available_direct_1089@localhost/res1 in
<presence from='bOb_available_direct_1089@localhost/res1' to='bob_available_direct_1089@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 14:01:50.900 ***
alicE_available_direct_1089@localhost/res1 out
<presence to='bOb_available_direct_1089@localhost'/>



*** User 2022-04-29 14:01:50.901 ***
bOb_available_direct_1089@localhost/res1 in
<presence from='alicE_available_direct_1089@localhost/res1' to='bOb_available_direct_1089@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 14:01:50.901 ***
bOb_available_direct_1089@localhost/res1 out
</stream:stream>

*** User 2022-04-29 14:01:50.901 ***
bOb_available_direct_1089@localhost/res1 in
</stream:stream>

*** User 2022-04-29 14:01:50.901 ***
alicE_available_direct_1089@localhost/res1 out
</stream:stream>

*** User 2022-04-29 14:01:50.901 ***
alicE_available_direct_1089@localhost/res1 in
</stream:stream>
*** CT 2022-04-29 14:01:50.903 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1943.html
*** CT 2022-04-29 14:01:50.903 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5090.html



=== Ended at 2022-04-29 14:01:50
=== successfully completed test case
=== === Returned value: ok