=== Test case: component_SUITE:register_two_components/1 (click for source code)

=== Config value:

    [{component1,[{transport,escalus_ws},
                  {wspath,<<"/ws-xmpp">>},
                  {wslegacy,true},
                  {server,<<"localhost">>},
                  {host,<<"localhost">>},
                  {password,<<"secret">>},
                  {port,5280},
                  {component,<<"test_service">>}]},
     {component2,[{transport,escalus_ws},
                  {wspath,<<"/ws-xmpp">>},
                  {wslegacy,true},
                  {server,<<"localhost">>},
                  {host,<<"localhost">>},
                  {password,<<"secret">>},
                  {port,5280},
                  {component,<<"another_service">>}]},
     {vjud_component,[{transport,escalus_ws},
                      {wspath,<<"/ws-xmpp">>},
                      {wslegacy,true},
                      {server,<<"localhost">>},
                      {host,<<"localhost">>},
                      {password,<<"secret">>},
                      {port,5280},
                      {component,<<"vjud">>}]},
     {watchdog,<0.12916.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/component_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.component_SUITE.logs/run.2022-04-04_15.03.41/component_suite.register_two_components.22402.html"},
     {tc_group_properties,[{name,xep0114_ws},{repeat_until_all_ok,3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/component_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.component_SUITE.logs/run.2022-04-04_15.03.41/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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:03:43


*** CT 2022-04-04 15:03:43.123 *** View log from node mongooseim@localhost when started mongooseim@localhost_190.html
*** CT 2022-04-04 15:03:43.123 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_370.html

*** User 2022-04-04 15:03:43.127 ***
alicE@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-04 15:03:43.127 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='958c567573d80291' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:03:43.128 ***
alicE@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>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-04-04 15:03:43.128 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-04-04 15:03:43.129 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:03:43.129 ***
alicE@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-04 15:03:43.129 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='069d06c9ae109930' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:03:43.129 ***
alicE@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-04 15:03:43.129 ***
alicE@localhost/res1 out
<iq type='set' id='53184ab4087f7b155c5ffe9a826ef4c7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:03:43.130 ***
alicE@localhost/res1 in
<iq id='53184ab4087f7b155c5ffe9a826ef4c7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:03:43.130 ***
alicE@localhost/res1 out
<iq type='set' id='6b14ce0194ac5964d578ab52794a2c1b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:03:43.130 ***
alicE@localhost/res1 in
<iq type='result' id='6b14ce0194ac5964d578ab52794a2c1b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:03:43.130 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-04-04 15:03:43.131 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:03:43.132 ***
bOb@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-04 15:03:43.132 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c93ef7a83ac7d0b7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:03:43.132 ***
bOb@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>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-04-04 15:03:43.132 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-04-04 15:03:43.133 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:03:43.133 ***
bOb@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-04 15:03:43.133 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1852f099a9626a4f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:03:43.133 ***
bOb@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-04 15:03:43.133 ***
bOb@localhost/res1 out
<iq type='set' id='00d966aea9bb676467963e7323b13e58'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:03:43.133 ***
bOb@localhost/res1 in
<iq id='00d966aea9bb676467963e7323b13e58' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:03:43.134 ***
bOb@localhost/res1 out
<iq type='set' id='f0280c6be62a838e7be3ad50542c2e8c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:03:43.134 ***
bOb@localhost/res1 in
<iq type='result' id='f0280c6be62a838e7be3ad50542c2e8c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:03:43.134 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-04-04 15:03:43.135 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:03:43.135 ***
alicE@localhost/res1 in
<message from='test_service.localhost' to='alicE@localhost/res1' type='chat'>
	<body>abc</body>
</message>



*** User 2022-04-04 15:03:43.136 ***
bOb@localhost/res1 in
<message from='another_service.localhost' to='bOb@localhost/res1' type='chat'>
	<body>def</body>
</message>



*** User 2022-04-04 15:03:43.136 ***
bOb@localhost/res1 out
<message to='another_service.localhost' type='chat'>
	<body>ghi</body>
</message>



*** User 2022-04-04 15:03:43.136 ***
alicE@localhost/res1 out
<message to='test_service.localhost' type='chat'>
	<body>jkl</body>
</message>



*** User 2022-04-04 15:03:43.137 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:03:43.137 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:03:43.137 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:03:43.137 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:03:43.341 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_370.html
*** CT 2022-04-04 15:03:43.341 *** View log from node mongooseim@localhost when finished mongooseim@localhost_190.html



=== Ended at 2022-04-04 15:03:43
=== successfully completed test case
=== === Returned value: {ok,true}


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