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

=== Config value:

    [{user,carol_s},
     {watchdog,<0.7515.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.bosh_SUITE.logs/run.2023-11-16_09.06.56/bosh_suite.cdata_escape_chat.24578.html"},
     {tc_group_properties,[{shuffle,{1700,125618,312591}},{name,chat_https}]},
     {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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.bosh_SUITE.logs/run.2023-11-16_09.06.56/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {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@cdb4b709e1db.2023-11-16_09.06.27"

=== Started at 2023-11-16 09:06:58


*** CT 2023-11-16 09:06:58.598 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_103.html

*** User 2023-11-16 09:06:58.598 ***🔗
carol_s@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-16 09:06:58.659 ***🔗
carol_s@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-16 09:06:58.659 ***🔗
carol_s@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-16 09:06:58.659 ***🔗
carol_s@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGNhcm9sX3MAamluZ2xlYmVsbHNfcw==</auth>



*** User 2023-11-16 09:06:58.711 ***🔗
carol_s@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:06:58.712 ***🔗
carol_s@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-16 09:06:58.724 ***🔗
carol_s@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-16 09:06:58.724 ***🔗
carol_s@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-16 09:06:58.724 ***🔗
carol_s@domain.example.com/res1 out
<iq type='set' id='73780e2f77c7a001b84ab6de0b8bce3f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:06:58.725 ***🔗
carol_s@domain.example.com/res1 in
<iq xmlns='jabber:client' id='73780e2f77c7a001b84ab6de0b8bce3f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>carol_s@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:06:58.725 ***🔗
carol_s@domain.example.com/res1 out
<iq type='set' id='3c4064607c8620b8e1631d1af3203a1e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:06:58.726 ***🔗
carol_s@domain.example.com/res1 in
<iq xmlns='jabber:client' from='domain.example.com' to='carol_s@domain.example.com/res1' id='3c4064607c8620b8e1631d1af3203a1e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:06:58.726 ***🔗
carol_s@domain.example.com/res1 out
<presence/>



*** User 2023-11-16 09:06:58.727 ***🔗
carol_s@domain.example.com/res1 in
<presence xmlns='jabber:client' from='carol_s@domain.example.com/res1' to='carol_s@domain.example.com/res1'/>



*** User 2023-11-16 09:06:58.728 ***🔗
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-16 09:06:58.728 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='64104f2f542d4fbe' from='domain.example.com' version='1.0' xml:lang='en'/>



*** User 2023-11-16 09:06:58.728 ***🔗
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-16 09:06:58.728 ***🔗
geralt@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdAB3aXRjaGVy</auth>



*** User 2023-11-16 09:06:58.729 ***🔗
geralt@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:06:58.729 ***🔗
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-16 09:06:58.730 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='ee2ccc1ff142520f' from='domain.example.com' version='1.0' xml:lang='en' to='geralt@domain.example.com'/>



*** User 2023-11-16 09:06:58.730 ***🔗
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-16 09:06:58.730 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='694a97dd678a0f8dea184aa3e14b31cf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:06:58.730 ***🔗
geralt@domain.example.com/res1 in
<iq id='694a97dd678a0f8dea184aa3e14b31cf' 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-16 09:06:58.730 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='b0da36d05a45ce8237088da04be4c5f3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:06:58.731 ***🔗
geralt@domain.example.com/res1 in
<iq from='domain.example.com' to='geralt@domain.example.com/res1' id='b0da36d05a45ce8237088da04be4c5f3' type='result' xmlns='jabber:client'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:06:58.731 ***🔗
geralt@domain.example.com/res1 out
<presence/>



*** User 2023-11-16 09:06:58.732 ***🔗
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-16 09:06:58.732 ***🔗
carol_s@domain.example.com/res1 out
<message type='chat' to='carol_s@domain.example.com/res1'>
	<body>Hi! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-16 09:06:58.732 ***🔗
carol_s@domain.example.com/res1 in
<message xmlns='jabber:client' from='carol_s@domain.example.com/res1' to='carol_s@domain.example.com/res1' type='chat'>
	<body>Hi! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-16 09:06:58.732 ***🔗
geralt@domain.example.com/res1 out
<message type='chat' to='carol_s@domain.example.com/res1'>
	<body>Hi there! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-16 09:06:58.733 ***🔗
carol_s@domain.example.com/res1 in
<message from='geralt@domain.example.com/res1' to='carol_s@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Hi there! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-16 09:06:58.733 ***🔗
geralt@domain.example.com/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



*** User 2023-11-16 09:06:58.779 ***🔗
geralt@domain.example.com/res1 in
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



*** User 2023-11-16 09:06:58.779 ***🔗
carol_s@domain.example.com/res1 out
</stream:stream>

*** System report during bosh_SUITE:cdata_escape_chat/1 in chat_https 2023-11-16 09:06:58.779 ***🔗
=ERROR REPORT==== 16-Nov-2023::09:06:58.779649 ===
** State machine <0.7584.0> terminating
** Last event = {cast,{ws_send,<0.7583.0>,#Ref<0.4227540552.1162608643.65461>,
                               close}}
** When server state  = {connected,
                            {state,<0.7583.0>,
                                {up,#Ref<0.4227540552.1162608643.65456>},
                                "localhost",5280,<<"http">>,"localhost",5280,
                                [],
                                #{protocols => [http],transport => tcp},
                                undefined,#Port<0.670>,gun_tcp,true,
                                {tcp,tcp_closed,tcp_error},
                                gun_http,
                                {http_state,#Port<0.670>,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,1377}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]



*** User 2023-11-16 09:06:58.780 ***🔗
carol_s@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-16 09:06:58.781 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_103.html



=== Ended at 2023-11-16 09:06:58
=== successfully completed test case
=== === Returned value: ok


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