=== Test case: s2s_SUITE:simple_message/1 (click for source code)

=== Config value:

    [{watchdog,<0.13656.2>},
     {s2s_opts,{s2s_opts,"priv/ssl/fake_server.pem",optional,
                         #{ip_address => "0",
                           ip_tuple => {0,0,0,0},
                           ip_version => 4,max_stanza_size => 131072,
                           module => ejabberd_s2s_in,port => 5269,
                           proto => tcp,shaper => s2s_shaper,
                           tls => [{dhfile,"priv/ssl/fake_dh_server.pem"}]},
                         "priv/ssl/fake_server.pem",optional,
                         #{ip_address => "0",
                           ip_tuple => {0,0,0,0},
                           ip_version => 4,max_stanza_size => 131072,
                           module => ejabberd_s2s_in,port => 5299,
                           proto => tcp,shaper => s2s_shaper,
                           tls => [{dhfile,"priv/ssl/fake_dh_server.pem"}]}}},
     {escalus_user_db,xmpp},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/s2s_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.s2s_SUITE.logs/run.2022-03-04_11.27.53/s2s_suite.simple_message.120323.html"},
     {tc_group_properties,[{name,node1_tls_optional_node2_tls_false},
                           {repeat_until_all_ok,3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/s2s_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.s2s_SUITE.logs/run.2022-03-04_11.27.53/log_private/"},
     {escalus_users,[{alice2,[{username,<<"alice">>},
                              {server,<<"fed1">>},
                              {host,<<"localhost">>},
                              {port,5242},
                              {password,<<"makota2">>}]},
                     {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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:28:11


*** CT 2022-03-04 11:28:11.129 *** View log from node mongooseim@localhost when started mongooseim@localhost_5918.html
*** CT 2022-03-04 11:28:11.130 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

*** User 2022-03-04 11:28:11.134 ***
alice_simple_message_2059@fed1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:28:11.135 ***
alice_simple_message_2059@fed1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='46af7c01f6488ef9' from='fed1' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:28:11.135 ***
alice_simple_message_2059@fed1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-512</mechanism>
		<mechanism>SCRAM-SHA-384</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>SCRAM-SHA-224</mechanism>
		<mechanism>SCRAM-SHA-1</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-04 11:28:11.135 ***
alice_simple_message_2059@fed1 out
<iq type='get' id='c0f2d5b70d7403f912a41c34ecf687ca'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-04 11:28:11.136 ***
alice_simple_message_2059@fed1 in
<iq from='fed1' id='c0f2d5b70d7403f912a41c34ecf687ca' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-03-04 11:28:11.136 ***
alice_simple_message_2059@fed1 out
<iq type='set' id='93c2b7a2c32799b9370aa4502e2f4717'>
	<query xmlns='jabber:iq:register'>
		<username>alice_simple_message_2059</username>
		<password>makota2</password>
	</query>
</iq>



*** User 2022-03-04 11:28:11.170 ***
alice_simple_message_2059@fed1 in
<iq from='fed1' id='93c2b7a2c32799b9370aa4502e2f4717' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alice_simple_message_2059</username>
		<password>makota2</password>
	</query>
</iq>



*** User 2022-03-04 11:28:11.170 ***
alice_simple_message_2059@fed1 out
</stream:stream>

*** User 2022-03-04 11:28:11.170 ***
alice_simple_message_2059@fed1 in
</stream:stream>

*** User 2022-03-04 11:28:11.171 ***
alicE_simple_message_2059@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:28:11.171 ***
alicE_simple_message_2059@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6fb8637d5977a47e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:28:11.172 ***
alicE_simple_message_2059@localhost 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-03-04 11:28:11.172 ***
alicE_simple_message_2059@localhost out
<iq type='get' id='6d896c740470f827632b944ad520792f'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-04 11:28:11.172 ***
alicE_simple_message_2059@localhost in
<iq from='localhost' id='6d896c740470f827632b944ad520792f' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-03-04 11:28:11.172 ***
alicE_simple_message_2059@localhost out
<iq type='set' id='b86db44a4fb0b9ba4e7725fe25fa420b'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_simple_message_2059</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-04 11:28:11.173 ***
alicE_simple_message_2059@localhost in
<iq from='localhost' id='b86db44a4fb0b9ba4e7725fe25fa420b' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_simple_message_2059</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-04 11:28:11.173 ***
alicE_simple_message_2059@localhost out
</stream:stream>

*** User 2022-03-04 11:28:11.174 ***
alicE_simple_message_2059@localhost in
</stream:stream>

*** User 2022-03-04 11:28:11.174 ***
alice_simple_message_2059@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:28:11.175 ***
alice_simple_message_2059@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4de5c2d168c298d0' from='fed1' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:28:11.175 ***
alice_simple_message_2059@fed1/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-512</mechanism>
		<mechanism>SCRAM-SHA-384</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>SCRAM-SHA-224</mechanism>
		<mechanism>SCRAM-SHA-1</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-04 11:28:11.175 ***
alice_simple_message_2059@fed1/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3NpbXBsZV9tZXNzYWdlXzIwNTkAbWFrb3RhMg==</auth>



*** User 2022-03-04 11:28:11.178 ***
alice_simple_message_2059@fed1/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:28:11.178 ***
alice_simple_message_2059@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:28:11.178 ***
alice_simple_message_2059@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb279ab63e3a3a8e' from='fed1' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:28:11.178 ***
alice_simple_message_2059@fed1/res1 in
<stream:features>
	<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'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-04 11:28:11.178 ***
alice_simple_message_2059@fed1/res1 out
<iq type='set' id='052f5453680af9425d05a370eb08231e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:28:11.178 ***
alice_simple_message_2059@fed1/res1 in
<iq id='052f5453680af9425d05a370eb08231e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_simple_message_2059@fed1/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:28:11.179 ***
alice_simple_message_2059@fed1/res1 out
<iq type='set' id='25506b6e40fd5156f16b900150bc2c2a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:28:11.179 ***
alice_simple_message_2059@fed1/res1 in
<iq type='result' id='25506b6e40fd5156f16b900150bc2c2a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:28:11.179 ***
alice_simple_message_2059@fed1/res1 out
<presence/>



*** User 2022-03-04 11:28:11.180 ***
alice_simple_message_2059@fed1/res1 in
<presence from='alice_simple_message_2059@fed1/res1' to='alice_simple_message_2059@fed1/res1' xml:lang='en'/>



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

*** User 2022-03-04 11:28:11.181 ***
alicE_simple_message_2059@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-03-04 11:28:11.181 ***
alicE_simple_message_2059@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NpbXBsZV9tZXNzYWdlXzIwNTkAbWF0eWdyeXNh</auth>



*** User 2022-03-04 11:28:11.182 ***
alicE_simple_message_2059@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:28:11.183 ***
alicE_simple_message_2059@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-04 11:28:11.183 ***
alicE_simple_message_2059@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6bcd14c696d92675' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:28:11.183 ***
alicE_simple_message_2059@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-04 11:28:11.183 ***
alicE_simple_message_2059@localhost/res1 out
<iq type='set' id='c0881c3bb07681238bd92886c439ecdc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:28:11.183 ***
alicE_simple_message_2059@localhost/res1 in
<iq id='c0881c3bb07681238bd92886c439ecdc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_simple_message_2059@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:28:11.183 ***
alicE_simple_message_2059@localhost/res1 out
<iq type='set' id='2f15a64df9c148564a915b5dc57cbe1a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:28:11.184 ***
alicE_simple_message_2059@localhost/res1 in
<iq type='result' id='2f15a64df9c148564a915b5dc57cbe1a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:28:11.184 ***
alicE_simple_message_2059@localhost/res1 out
<presence/>



*** User 2022-03-04 11:28:11.185 ***
alicE_simple_message_2059@localhost/res1 in
<presence from='alicE_simple_message_2059@localhost/res1' to='alice_simple_message_2059@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:28:11.185 ***
alicE_simple_message_2059@localhost/res1 out
<message to='alice_simple_message_2059@fed1/res1' type='chat'>
	<body>Hi, foreign Alice!</body>
</message>



*** User 2022-03-04 11:28:11.188 ***
alice_simple_message_2059@fed1/res1 in
<message from='alicE_simple_message_2059@localhost/res1' to='alice_simple_message_2059@fed1/res1' xml:lang='en' type='chat'>
	<body>Hi, foreign Alice!</body>
</message>



*** User 2022-03-04 11:28:11.188 ***
alice_simple_message_2059@fed1/res1 out
<message to='alicE_simple_message_2059@localhost/res1' type='chat'>
	<body>Nice to meet you!</body>
</message>



*** User 2022-03-04 11:28:11.189 ***
alicE_simple_message_2059@localhost/res1 in
<message from='alice_simple_message_2059@fed1/res1' to='alicE_simple_message_2059@localhost/res1' xml:lang='en' type='chat'>
	<body>Nice to meet you!</body>
</message>



*** User 2022-03-04 11:28:11.189 ***
alicE_simple_message_2059@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:28:11.189 ***
alicE_simple_message_2059@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:28:11.189 ***
alice_simple_message_2059@fed1/res1 out
</stream:stream>

*** User 2022-03-04 11:28:11.190 ***
alice_simple_message_2059@fed1/res1 in
</stream:stream>
*** CT 2022-03-04 11:28:11.193 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:28:11.194 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5918.html



=== Ended at 2022-03-04 11:28:11
=== successfully completed test case
=== === Returned value: ok


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