=== 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.11086.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/component_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3023cbe068f.2024-04-16_10.54.54/big_tests.tests.component_SUITE.logs/run.2024-04-16_10.56.10/component_suite.register_two_components.html"},
     {tc_group_properties,[{name,xep0114}]},
     {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@d3023cbe068f.2024-04-16_10.54.54/big_tests.tests.component_SUITE.logs/run.2024-04-16_10.56.10/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@d3023cbe068f.2024-04-16_10.54.54"

=== Started at 2024-04-16 10:56:11


*** CT 2024-04-16 10:56:11.290 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_240.html

*** User 2024-04-16 10:56:11.294 ***🔗
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 2024-04-16 10:56:11.294 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2077504ebbc3af3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:56:11.294 ***🔗
alicE@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 10:56:11.294 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 10:56:11.295 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:56:11.295 ***🔗
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 2024-04-16 10:56:11.295 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='786d282e7f38dcef' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>

*** User 2024-04-16 10:56:11.296 ***🔗
alicE@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 10:56:11.296 ***🔗
alicE@localhost/res1 out
<iq type='set' id='e26772dd4a0e15c12ea9e7071c02ca19'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:56:11.296 ***🔗
alicE@localhost/res1 in
<iq id='e26772dd4a0e15c12ea9e7071c02ca19' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:56:11.296 ***🔗
alice@localhost/res1 out
<iq type='set' id='4dbe8e548f4e8d747e7ca45857c2ce82'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:56:11.296 ***🔗
alice@localhost/res1 in
<iq from='localhost' to='alice@localhost/res1' id='4dbe8e548f4e8d747e7ca45857c2ce82' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:56:11.296 ***🔗
alice@localhost/res1 out
<presence/>



*** User 2024-04-16 10:56:11.298 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1'/>



*** User 2024-04-16 10:56:11.298 ***🔗
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 2024-04-16 10:56:11.298 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f65d1154b164328' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:56:11.299 ***🔗
bOb@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 10:56:11.299 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 10:56:11.300 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:56:11.300 ***🔗
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 2024-04-16 10:56:11.300 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de9fd4c669fdbcc6' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>

*** User 2024-04-16 10:56:11.300 ***🔗
bOb@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 10:56:11.300 ***🔗
bOb@localhost/res1 out
<iq type='set' id='f2e97f0961bf5e943468523dd3907ccb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:56:11.300 ***🔗
bOb@localhost/res1 in
<iq id='f2e97f0961bf5e943468523dd3907ccb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:56:11.300 ***🔗
bob@localhost/res1 out
<iq type='set' id='0da0bbcbe43ed7a0a87fa93541f245c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:56:11.301 ***🔗
bob@localhost/res1 in
<iq from='localhost' to='bob@localhost/res1' id='0da0bbcbe43ed7a0a87fa93541f245c4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:56:11.301 ***🔗
bob@localhost/res1 out
<presence/>



*** User 2024-04-16 10:56:11.301 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1'/>



*** User 2024-04-16 10:56:11.302 ***🔗
alice@localhost/res1 in
<message from='test_service.localhost' to='alice@localhost/res1' type='chat'>
	<body>Comp1-2-Alice msg</body>
</message>



*** User 2024-04-16 10:56:11.302 ***🔗
bob@localhost/res1 in
<message from='another_service.localhost' to='bob@localhost/res1' type='chat'>
	<body>Comp2-2-Bob msg</body>
</message>



*** User 2024-04-16 10:56:11.302 ***🔗
bob@localhost/res1 out
<message to='another_service.localhost' type='chat'>
	<body>Bob-2-Comp2 msg</body>
</message>



*** User 2024-04-16 10:56:11.303 ***🔗
alice@localhost/res1 out
<message to='test_service.localhost' type='chat'>
	<body>Alice-2-Comp1 msg</body>
</message>



*** User 2024-04-16 10:56:11.303 ***🔗
bob@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:56:11.304 ***🔗
bob@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:56:11.304 ***🔗
alice@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:56:11.304 ***🔗
alice@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:56:11.406 ***🔗
waiting for rpc is done in 100 miliseconds

*** User 2024-04-16 10:56:11.507 ***🔗
waiting for rpc is done in 100 miliseconds
*** CT 2024-04-16 10:56:11.508 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_240.html



=== Ended at 2024-04-16 10:56:11
=== successfully completed test case
=== === Returned value: {ok,true}


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