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

=== Config value:

    [{component1,[{server,<<"localhost">>},
                  {host,<<"localhost">>},
                  {password,<<"secret">>},
                  {port,8888},
                  {component,<<"test_service">>}]},
     {component2,[{server,<<"localhost">>},
                  {host,<<"localhost">>},
                  {password,<<"secret">>},
                  {port,8888},
                  {component,<<"another_service">>}]},
     {vjud_component,[{server,<<"localhost">>},
                      {host,<<"localhost">>},
                      {password,<<"secret">>},
                      {port,8888},
                      {component,<<"vjud">>}]},
     {watchdog,<0.10645.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,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.component_SUITE.logs/run.2022-05-25_10.39.51/component_suite.register_two_components.html"},
     {tc_group_properties,[{name,xep0114_tcp},{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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.component_SUITE.logs/run.2022-05-25_10.39.51/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@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:39:51


*** CT 2022-05-25 10:39:51.535 *** View log from node mongooseim@localhost when started mongooseim@localhost_183.html
*** CT 2022-05-25 10:39:51.536 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_368.html

*** User 2022-05-25 10:39:51.539 ***
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-05-25 10:39:51.539 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73b74fc73b4ca902' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:39:51.539 ***
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-05-25 10:39:51.539 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 10:39:51.541 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:39:51.541 ***
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-05-25 10:39:51.542 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c3fb3fb9c5fa8a5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:39:51.542 ***
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-05-25 10:39:51.542 ***
alicE@localhost/res1 out
<iq type='set' id='be12458f1f25357064502bb45c4f0b31'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:39:51.542 ***
alicE@localhost/res1 in
<iq id='be12458f1f25357064502bb45c4f0b31' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:39:51.542 ***
alice@localhost/res1 out
<iq type='set' id='ec23a0cd20a13926eb5b386287ab6366'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:39:51.542 ***
alice@localhost/res1 in
<iq type='result' id='ec23a0cd20a13926eb5b386287ab6366'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:39:51.542 ***
alice@localhost/res1 out
<presence/>



*** User 2022-05-25 10:39:51.544 ***
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:39:51.545 ***
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-05-25 10:39:51.545 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ee2b988d3bd6acb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:39:51.545 ***
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-05-25 10:39:51.545 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 10:39:51.547 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:39:51.547 ***
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-05-25 10:39:51.547 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e081acba42ef09d4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:39:51.547 ***
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-05-25 10:39:51.548 ***
bOb@localhost/res1 out
<iq type='set' id='c2fddd61c8feb145625ff399c6981186'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:39:51.548 ***
bOb@localhost/res1 in
<iq id='c2fddd61c8feb145625ff399c6981186' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:39:51.548 ***
bob@localhost/res1 out
<iq type='set' id='962a756bbcd3e8bbdef4ab1bbc933434'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:39:51.548 ***
bob@localhost/res1 in
<iq type='result' id='962a756bbcd3e8bbdef4ab1bbc933434'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:39:51.548 ***
bob@localhost/res1 out
<presence/>



*** User 2022-05-25 10:39:51.550 ***
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:39:51.550 ***
alice@localhost/res1 in
<message from='test_service.localhost' to='alice@localhost/res1' type='chat'>
	<body>abc</body>
</message>



*** User 2022-05-25 10:39:51.551 ***
bob@localhost/res1 in
<message from='another_service.localhost' to='bob@localhost/res1' type='chat'>
	<body>def</body>
</message>



*** User 2022-05-25 10:39:51.551 ***
bob@localhost/res1 out
<message to='another_service.localhost' type='chat'>
	<body>ghi</body>
</message>



*** User 2022-05-25 10:39:51.551 ***
alice@localhost/res1 out
<message to='test_service.localhost' type='chat'>
	<body>jkl</body>
</message>



*** User 2022-05-25 10:39:51.552 ***
bob@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:39:51.552 ***
bob@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:39:51.552 ***
alice@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:39:51.553 ***
alice@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:39:51.655 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_368.html
*** CT 2022-05-25 10:39:51.656 *** View log from node mongooseim@localhost when finished mongooseim@localhost_183.html



=== Ended at 2022-05-25 10:39:51
=== successfully completed test case
=== === Returned value: {ok,true}


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