=== 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.10671.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,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.component_SUITE.logs/run.2022-03-03_10.29.40/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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.component_SUITE.logs/run.2022-03-03_10.29.40/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:29:40


*** CT 2022-03-03 10:29:40.496 *** View log from node mongooseim@localhost when started mongooseim@localhost_220.html
*** CT 2022-03-03 10:29:40.496 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_471.html

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

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



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



*** User 2022-03-03 10:29:40.500 ***
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-03-03 10:29:40.501 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='407c1155c766a2c7' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-03 10:29:40.501 ***
alicE@localhost/res1 in
<iq id='f18c3985460abe1ee40f4875b57f8bdb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:29:40.501 ***
alicE@localhost/res1 out
<iq type='set' id='2c95f57c31968f5392962b56582b78c8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:29:40.501 ***
alicE@localhost/res1 in
<iq type='result' id='2c95f57c31968f5392962b56582b78c8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:29:40.502 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-03 10:29:40.502 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



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

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



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



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

*** User 2022-03-03 10:29:40.505 ***
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-03-03 10:29:40.505 ***
bOb@localhost/res1 out
<iq type='set' id='6b0480108f73ed41713d9ebcff869e87'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:29:40.505 ***
bOb@localhost/res1 in
<iq id='6b0480108f73ed41713d9ebcff869e87' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:29:40.505 ***
bOb@localhost/res1 out
<iq type='set' id='ea45f9235c8f2f1031b3a82ca0e6d4be'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:29:40.506 ***
bOb@localhost/res1 in
<iq type='result' id='ea45f9235c8f2f1031b3a82ca0e6d4be'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:29:40.506 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-03 10:29:40.506 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



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



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



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



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



*** User 2022-03-03 10:29:40.508 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:29:40.508 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:29:40.508 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:29:40.509 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:29:40.611 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_471.html
*** CT 2022-03-03 10:29:40.611 *** View log from node mongooseim@localhost when finished mongooseim@localhost_220.html



=== Ended at 2022-03-03 10:29:40
=== successfully completed test case
=== === Returned value: {ok,true}


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