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

=== Config value:

    [{user,carol},
     {watchdog,<0.7263.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.bosh_SUITE.logs/run.2023-11-14_11.38.47/bosh_suite.cdata_escape_chat.html"},
     {tc_group_properties,[{shuffle,{1699,961929,49972}},{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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.bosh_SUITE.logs/run.2023-11-14_11.38.47/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_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        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_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        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@a2fc54846062.2023-11-14_11.38.11"

=== Started at 2023-11-14 11:38:49


*** CT 2023-11-14 11:38:49.840 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_103.html

*** User 2023-11-14 11:38:49.841 ***🔗
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-14 11:38:49.855 ***🔗
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-14 11:38:49.856 ***🔗
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-14 11:38:49.856 ***🔗
carol@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGNhcm9sAGppbmdsZWJlbGxz</auth>



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



*** User 2023-11-14 11:38:49.858 ***🔗
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-14 11:38:49.871 ***🔗
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-14 11:38:49.871 ***🔗
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-14 11:38:49.871 ***🔗
carol@domain.example.com/res1 out
<iq type='set' id='9e2bf82a2961c3bae44d13dc85e0e434'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.872 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' id='9e2bf82a2961c3bae44d13dc85e0e434' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>carol@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.872 ***🔗
carol@domain.example.com/res1 out
<iq type='set' id='4e94edf51e85fbd8389f99f7dbb0696a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.873 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' from='domain.example.com' to='carol@domain.example.com/res1' id='4e94edf51e85fbd8389f99f7dbb0696a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.873 ***🔗
carol@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:38:49.875 ***🔗
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-14 11:38:49.877 ***🔗
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-14 11:38:49.878 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='9723da736cc8f2d0' from='domain.example.com' version='1.0' xml:lang='en'/>



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



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



*** User 2023-11-14 11:38:49.879 ***🔗
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-14 11:38:49.880 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='13288faa32ef9cca' from='domain.example.com' version='1.0' xml:lang='en' to='geralt@domain.example.com'/>



*** User 2023-11-14 11:38:49.880 ***🔗
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-14 11:38:49.880 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='04ab6502c1c582353471b505ca1583c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.880 ***🔗
geralt@domain.example.com/res1 in
<iq id='04ab6502c1c582353471b505ca1583c9' 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-14 11:38:49.880 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='309419d141c9509f1124583ad3e8c345'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.881 ***🔗
geralt@domain.example.com/res1 in
<iq from='domain.example.com' to='geralt@domain.example.com/res1' id='309419d141c9509f1124583ad3e8c345' type='result' xmlns='jabber:client'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.881 ***🔗
geralt@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:38:49.883 ***🔗
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-14 11:38:49.889 ***🔗
carol@domain.example.com/res1 out
<message type='chat' to='carol@domain.example.com/res1'>
	<body>Hi! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-14 11:38:49.890 ***🔗
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-14 11:38:49.890 ***🔗
geralt@domain.example.com/res1 out
<message type='chat' to='carol@domain.example.com/res1'>
	<body>Hi there! &amp; &lt; &gt; </body>
</message>



*** User 2023-11-14 11:38:49.891 ***🔗
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-14 11:38:49.891 ***🔗
geralt@domain.example.com/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



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



*** User 2023-11-14 11:38:49.932 ***🔗
carol@domain.example.com/res1 out
</stream:stream>

*** System report during bosh_SUITE:cdata_escape_chat/1 in chat 2023-11-14 11:38:49.933 ***🔗
=ERROR REPORT==== 14-Nov-2023::11:38:49.933453 ===
** State machine <0.7468.0> terminating
** Last event = {cast,{ws_send,<0.7467.0>,
                               #Ref<0.3885274375.2887778306.191924>,close}}
** When server state  = {connected,
                            {state,<0.7467.0>,
                                {up,#Ref<0.3885274375.2887778305.237966>},
                                "localhost",5280,<<"http">>,"localhost",5280,
                                [],
                                #{protocols => [http],transport => tcp},
                                undefined,#Port<0.660>,gun_tcp,true,
                                {tcp,tcp_closed,tcp_error},
                                gun_http,
                                {http_state,#Port<0.660>,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-14 11:38:49.937 ***🔗
carol@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-14 11:38:49.940 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_103.html



=== Ended at 2023-11-14 11:38:49
=== successfully completed test case
=== === Returned value: ok


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