=== Test case: bosh_SUITE:cdata_escape_chat/1 (click for source code)

=== Config value:

    [{user,carol},
     {watchdog,<0.7261.0>},
     {escalus_user_db,{module,escalus_ejabberd}},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/bosh_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.bosh_SUITE.logs/run.2023-11-13_19.21.36/bosh_suite.cdata_escape_chat.html"},
     {tc_group_properties,[{shuffle,{1699,903297,902361}},{name,chat}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/bosh_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.bosh_SUITE.logs/run.2023-11-13_19.21.36/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {escalus_users,[{carol,[{username,<<"carol">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"jinglebells">>},
                             {transport,escalus_bosh},
                             {path,<<"/http-bind">>},
                             {port,5280}]},
                     {carol_s,[{username,<<"carol_s">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"jinglebells_s">>},
                               {transport,escalus_bosh},
                               {ssl,true},
                               {path,<<"/http-bind">>},
                               {port,5285},
                               {ssl_opts,[{verify,verify_none}]}]},
                     {geralt,[{username,<<"geralt">>},
                              {server,<<"domain.example.com">>},
                              {host,<<"localhost">>},
                              {password,<<"witcher">>},
                              {transport,escalus_ws},
                              {port,5280},
                              {wspath,<<"/ws-xmpp">>}]},
                     {alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1d8001dd39bd.2023-11-13_19.21.09"

=== Started at 2023-11-13 19:21:38


*** CT 2023-11-13 19:21:38.666 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_105.html

*** User 2023-11-13 19:21:38.667 ***🔗
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 2023-11-13 19:21:38.680 ***🔗
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 2023-11-13 19:21:38.680 ***🔗
carol@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<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 2023-11-13 19:21:38.680 ***🔗
carol@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGNhcm9sAGppbmdsZWJlbGxz</auth>



*** User 2023-11-13 19:21:38.682 ***🔗
carol@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:21:38.682 ***🔗
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 2023-11-13 19:21:38.695 ***🔗
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 2023-11-13 19:21:38.695 ***🔗
carol@domain.example.com/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 2023-11-13 19:21:38.695 ***🔗
carol@domain.example.com/res1 out
<iq type='set' id='8fe71c6894450515c3c1c5b308005865'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:21:38.696 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' id='8fe71c6894450515c3c1c5b308005865' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>carol@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:21:38.696 ***🔗
carol@domain.example.com/res1 out
<iq type='set' id='6aeb490dacbe7e362700b54d5bbc5a6c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:21:38.697 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' from='domain.example.com' to='carol@domain.example.com/res1' id='6aeb490dacbe7e362700b54d5bbc5a6c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:21:38.697 ***🔗
carol@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:21:38.699 ***🔗
carol@domain.example.com/res1 in
<presence xmlns='jabber:client' from='carol@domain.example.com/res1' to='carol@domain.example.com/res1'/>



*** User 2023-11-13 19:21:38.700 ***🔗
geralt@domain.example.com/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='domain.example.com' version='1.0'/>



*** User 2023-11-13 19:21:38.700 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='957004d2f4e2f20f' from='domain.example.com' version='1.0' xml:lang='en'/>



*** User 2023-11-13 19:21:38.700 ***🔗
geralt@domain.example.com/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<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'/>
</features>



*** User 2023-11-13 19:21:38.700 ***🔗
geralt@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdAB3aXRjaGVy</auth>



*** User 2023-11-13 19:21:38.701 ***🔗
geralt@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:21:38.702 ***🔗
geralt@domain.example.com/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='domain.example.com' version='1.0'/>



*** User 2023-11-13 19:21:38.702 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='7ba4594e29aaf5bd' from='domain.example.com' version='1.0' xml:lang='en' to='geralt@domain.example.com'/>



*** User 2023-11-13 19:21:38.702 ***🔗
geralt@domain.example.com/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
	<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'/>
</features>



*** User 2023-11-13 19:21:38.702 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='56cc2c3d829ebd271a0cb5ad8bceba43'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:21:38.702 ***🔗
geralt@domain.example.com/res1 in
<iq id='56cc2c3d829ebd271a0cb5ad8bceba43' type='result' xmlns='jabber:client'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>geralt@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:21:38.703 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='d21f3c69cd56562cb2ed533917768e45'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:21:38.703 ***🔗
geralt@domain.example.com/res1 in
<iq from='domain.example.com' to='geralt@domain.example.com/res1' id='d21f3c69cd56562cb2ed533917768e45' type='result' xmlns='jabber:client'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:21:38.703 ***🔗
geralt@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:21:38.705 ***🔗
geralt@domain.example.com/res1 in
<presence from='geralt@domain.example.com/res1' to='geralt@domain.example.com/res1' xmlns='jabber:client'/>



*** User 2023-11-13 19:21:38.705 ***🔗
carol@domain.example.com/res1 out
<message to='carol@domain.example.com/res1' type='chat'>
	<body>Hi! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-13 19:21:38.705 ***🔗
carol@domain.example.com/res1 in
<message xmlns='jabber:client' from='carol@domain.example.com/res1' to='carol@domain.example.com/res1' type='chat'>
	<body>Hi! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-13 19:21:38.706 ***🔗
geralt@domain.example.com/res1 out
<message to='carol@domain.example.com/res1' type='chat'>
	<body>Hi there! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-13 19:21:38.706 ***🔗
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>Hi there! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-13 19:21:38.706 ***🔗
geralt@domain.example.com/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



*** User 2023-11-13 19:21:38.753 ***🔗
geralt@domain.example.com/res1 in
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



*** User 2023-11-13 19:21:38.754 ***🔗
carol@domain.example.com/res1 out
</stream:stream>

*** System report during bosh_SUITE:cdata_escape_chat/1 in chat 2023-11-13 19:21:38.754 ***🔗
=ERROR REPORT==== 13-Nov-2023::19:21:38.754446 ===
** State machine <0.7497.0> terminating
** Last event = {cast,{ws_send,<0.7496.0>,#Ref<0.550921576.1393819649.111774>,
                               close}}
** When server state  = {connected,
                            {state,<0.7496.0>,
                                {up,#Ref<0.550921576.1393819650.66036>},
                                "localhost",5280,<<"http">>,"localhost",5280,
                                [],
                                #{protocols => [http],transport => tcp},
                                undefined,#Port<0.665>,gun_tcp,true,
                                {tcp,tcp_closed,tcp_error},
                                gun_http,
                                {http_state,#Port<0.665>,gun_tcp,#{},
                                    'HTTP/1.1',keepalive,<<>>,undefined,[],
                                    head,
                                    {0,0},
                                    head},
                                undefined,gun_default_event_h,undefined}}
** Reason for termination = error:{'function not exported',
                                      {gun_http,ws_send,6}}
** Callback modules = [gun]
** Callback mode = state_functions
** Stacktrace =
**  [{gun,connected,3,
          [{file,"/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
           {line,1301}]},
     {gen_statem,loop_state_callback,11,[{file,"gen_statem.erl"},{line,1426}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]



*** User 2023-11-13 19:21:38.755 ***🔗
carol@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-13 19:21:38.757 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_105.html



=== Ended at 2023-11-13 19:21:38
=== successfully completed test case
=== === Returned value: ok


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