=== Test case: websockets_SUITE:escape_chat_msg/1 (click for source code)

=== Config value:

    [{user,geralt},
     {watchdog,<0.12402.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/websockets_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.websockets_SUITE.logs/run.2022-05-25_09.15.06/websockets_suite.escape_chat_msg.html"},
     {tc_group_properties,[{name,ws_chat},{repeat_until_all_ok,3},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/websockets_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.websockets_SUITE.logs/run.2022-05-25_09.15.06/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {geralt,[{username,<<"geralt">>},
                              {server,<<"domain.example.com">>},
                              {host,<<"localhost">>},
                              {password,<<"witcher">>},
                              {transport,escalus_ws},
                              {port,5280},
                              {wspath,<<"/ws-xmpp">>}]},
                     {geralt_s,[{username,<<"geralt_s">>},
                                {server,<<"domain.example.com">>},
                                {host,<<"localhost">>},
                                {password,<<"witcher_s">>},
                                {transport,escalus_ws},
                                {ssl,true},
                                {port,5285},
                                {wspath,<<"/ws-xmpp">>}]},
                     {carol,[{username,<<"carol">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"jinglebells">>},
                             {transport,escalus_bosh},
                             {path,<<"/http-bind">>},
                             {port,5280}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:15:06


*** CT 2022-05-25 09:15:06.561 *** View log from node mongooseim@localhost when started mongooseim@localhost_3061.html
*** CT 2022-05-25 09:15:06.562 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_580.html

*** User 2022-05-25 09:15:06.565 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:15:06.566 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30b4c036fd730cd9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:15:06.566 ***
alicE@domain.example.com/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 09:15:06.566 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 09:15:06.568 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:15:06.568 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:15:06.568 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e053c64055ae2e2e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:15:06.568 ***
alicE@domain.example.com/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 09:15:06.568 ***
alicE@domain.example.com/res1 out
<iq type='set' id='e249aa18c92dc2b5e6d1f8bb81944da8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:15:06.569 ***
alicE@domain.example.com/res1 in
<iq id='e249aa18c92dc2b5e6d1f8bb81944da8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:15:06.569 ***
alice@domain.example.com/res1 out
<iq type='set' id='9a6eda0b9c33474c0ab9d1adcfc3d521'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:15:06.569 ***
alice@domain.example.com/res1 in
<iq type='result' id='9a6eda0b9c33474c0ab9d1adcfc3d521'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:15:06.569 ***
alice@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:15:06.573 ***
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:15:06.575 ***
geralt@domain.example.com/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='domain.example.com' version='1.0'/>



*** User 2022-05-25 09:15:06.577 ***
geralt@domain.example.com/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='69079a5f38eabd99' from='domain.example.com'/>



*** User 2022-05-25 09:15:06.577 ***
geralt@domain.example.com/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
	<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'/>
</features>



*** User 2022-05-25 09:15:06.577 ***
geralt@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdAB3aXRjaGVy</auth>



*** User 2022-05-25 09:15:06.579 ***
geralt@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:15:06.580 ***
geralt@domain.example.com/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='domain.example.com' version='1.0'/>



*** User 2022-05-25 09:15:06.581 ***
geralt@domain.example.com/res1 in
<open version='1.0' xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='674a69986ebb7c20' from='domain.example.com'/>



*** User 2022-05-25 09:15:06.582 ***
geralt@domain.example.com/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
	<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'/>
</features>



*** User 2022-05-25 09:15:06.582 ***
geralt@domain.example.com/res1 out
<iq type='set' id='ee6ab3652d88face303ad2359e01d64e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:15:06.583 ***
geralt@domain.example.com/res1 in
<iq id='ee6ab3652d88face303ad2359e01d64e' type='result' xmlns='jabber:client'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>geralt@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:15:06.583 ***
geralt@domain.example.com/res1 out
<iq type='set' id='ea8ffe76660c4e536604c54cdf9abba9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:15:06.584 ***
geralt@domain.example.com/res1 in
<iq type='result' id='ea8ffe76660c4e536604c54cdf9abba9' xmlns='jabber:client'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:15:06.584 ***
geralt@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:15:06.586 ***
geralt@domain.example.com/res1 in
<presence from='geralt@domain.example.com/res1' to='geralt@domain.example.com/res1' xmlns='jabber:client'/>



*** User 2022-05-25 09:15:06.587 ***
carol@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:15:06.601 ***
carol@domain.example.com/res1 in
<stream:stream from='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:15:06.601 ***
carol@domain.example.com/res1 in
<stream:features>
	<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 09:15:06.601 ***
carol@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGNhcm9sAGppbmdsZWJlbGxz</auth>



*** User 2022-05-25 09:15:06.616 ***
carol@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:15:06.616 ***
carol@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:15:06.628 ***
carol@domain.example.com/res1 in
<stream:stream from='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:15:06.628 ***
carol@domain.example.com/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'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 09:15:06.628 ***
carol@domain.example.com/res1 out
<iq type='set' id='befc8b7af0246a7996d5f710d10fbc19'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:15:06.629 ***
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' id='befc8b7af0246a7996d5f710d10fbc19' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>carol@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:15:06.629 ***
carol@domain.example.com/res1 out
<iq type='set' id='a2b25ade4c261a33e14b493ae8353309'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:15:06.630 ***
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' type='result' id='a2b25ade4c261a33e14b493ae8353309'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:15:06.630 ***
carol@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:15:06.632 ***
carol@domain.example.com/res1 in
<presence xmlns='jabber:client' from='carol@domain.example.com/res1' to='carol@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:15:06.633 ***
alice@domain.example.com/res1 out
<message to='geralt@domain.example.com/res1' type='chat'>
	<body>Hi! &amp; &lt; &gt;</body>
</message>



*** User 2022-05-25 09:15:06.633 ***
geralt@domain.example.com/res1 in
<message from='alice@domain.example.com/res1' to='geralt@domain.example.com/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Hi! &amp; &lt; &gt;</body>
</message>



*** User 2022-05-25 09:15:06.633 ***
geralt@domain.example.com/res1 out
<message to='alice@domain.example.com/res1' type='chat'>
	<body>Hello! &amp; &lt; &gt;</body>
</message>



*** User 2022-05-25 09:15:06.634 ***
alice@domain.example.com/res1 in
<message from='geralt@domain.example.com/res1' to='alice@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Hello! &amp; &lt; &gt;</body>
</message>



*** User 2022-05-25 09:15:06.634 ***
geralt@domain.example.com/res1 out
<message to='carol@domain.example.com/res1' type='chat'>
	<body>Hey! &amp; &lt; &gt;</body>
</message>



*** User 2022-05-25 09:15:06.635 ***
carol@domain.example.com/res1 in
<message from='geralt@domain.example.com/res1' to='carol@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Hey! &amp; &lt; &gt;</body>
</message>



*** User 2022-05-25 09:15:06.635 ***
carol@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:15:06.636 ***
carol@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:15:06.636 ***
geralt@domain.example.com/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



*** User 2022-05-25 09:15:06.637 ***
geralt@domain.example.com/res1 in
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



*** User 2022-05-25 09:15:06.637 ***
alice@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:15:06.637 ***
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:15:06.640 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_580.html
*** CT 2022-05-25 09:15:06.640 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3061.html



=== Ended at 2022-05-25 09:15:06
=== successfully completed test case
=== === Returned value: ok


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