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

=== Config value:

    [{watchdog,<0.22460.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.presence_SUITE.logs/run.2022-01-27_12.36.15/presence_suite.available_direct_then_disconnect.118658.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.presence_SUITE.logs/run.2022-01-27_12.36.15/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:36:15


*** CT 2022-01-27 12:36:15.320 *** View log from node mongooseim@localhost when started mongooseim@localhost_2351.html
*** CT 2022-01-27 12:36:15.320 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_655.html

*** User 2022-01-27 12:36:15.342 ***
alicE_available_direct_then_disconnect_1673@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-01-27 12:36:15.343 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aef39d2fccfe8c11' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.343 ***
alicE_available_direct_then_disconnect_1673@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-01-27 12:36:15.343 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2F2YWlsYWJsZV9kaXJlY3RfdGhlbl9kaXNjb25uZWN0XzE2NzMAbWF0eWdyeXNh</auth>



*** User 2022-01-27 12:36:15.345 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:15.345 ***
alicE_available_direct_then_disconnect_1673@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-01-27 12:36:15.345 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c669d245fe4455b0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.345 ***
alicE_available_direct_then_disconnect_1673@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-01-27 12:36:15.345 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 out
<iq type='set' id='8f1046335dc983b70c4ebc6ca43d215b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.346 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 in
<iq id='8f1046335dc983b70c4ebc6ca43d215b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_available_direct_then_disconnect_1673@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.346 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 out
<iq type='set' id='608091494c12e1a982a1df48389b6774'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.346 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 in
<iq type='result' id='608091494c12e1a982a1df48389b6774'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.346 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:15.349 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 in
<presence from='alicE_available_direct_then_disconnect_1673@domain.example.com/res1' to='alice_available_direct_then_disconnect_1673@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:15.350 ***
bOb_available_direct_then_disconnect_1673@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-01-27 12:36:15.352 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23f907f882447a7f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.352 ***
bOb_available_direct_then_disconnect_1673@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-01-27 12:36:15.352 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hdmFpbGFibGVfZGlyZWN0X3RoZW5fZGlzY29ubmVjdF8xNjczAG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 12:36:15.358 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:15.358 ***
bOb_available_direct_then_disconnect_1673@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-01-27 12:36:15.359 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ec3d58e7c6ce657' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:15.359 ***
bOb_available_direct_then_disconnect_1673@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-01-27 12:36:15.359 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 out
<iq type='set' id='3cb4a5830ce11b4c917259a3903d5d90'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.368 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
<iq id='3cb4a5830ce11b4c917259a3903d5d90' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_available_direct_then_disconnect_1673@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:15.368 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 out
<iq type='set' id='de6a7986098f1716fa0152c8b21a47e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.370 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
<iq type='result' id='de6a7986098f1716fa0152c8b21a47e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:15.370 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:15.376 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
<presence from='bOb_available_direct_then_disconnect_1673@domain.example.com/res1' to='bob_available_direct_then_disconnect_1673@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:15.376 ***
alicE_available_direct_then_disconnect_1673@domain.example.com/res1 out
<presence to='bOb_available_direct_then_disconnect_1673@domain.example.com/res1'/>



*** User 2022-01-27 12:36:15.377 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
<presence from='alicE_available_direct_then_disconnect_1673@domain.example.com/res1' to='bOb_available_direct_then_disconnect_1673@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:15.378 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
<presence from='alicE_available_direct_then_disconnect_1673@domain.example.com/res1' to='bob_available_direct_then_disconnect_1673@domain.example.com/res1' type='unavailable'/>



*** User 2022-01-27 12:36:15.378 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:15.378 ***
bOb_available_direct_then_disconnect_1673@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:36:15.384 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_655.html
*** CT 2022-01-27 12:36:15.384 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2352.html



=== Ended at 2022-01-27 12:36:15
=== successfully completed test case
=== === Returned value: ok