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

=== Config value:

    [{user,carol},
     {watchdog,<0.8212.0>},
     {escalus_user_db,{module,escalus_ejabberd}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/bosh_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.bosh_SUITE.logs/run.2022-03-18_10.50.26/bosh_suite.stream_error.html"},
     {tc_group_properties,[{shuffle,{1647,600628,125846}},{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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.bosh_SUITE.logs/run.2022-03-18_10.50.26/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 => [],mod_commands => [],
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{welcome_message,{[],[]}},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {access,register},
             {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}]},
                     {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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:50:28


*** CT 2022-03-18 10:50:28.658 *** View log from node mongooseim@localhost when started mongooseim@localhost_57.html
*** CT 2022-03-18 10:50:28.658 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_25.html

*** User 2022-03-18 10:50:28.659 ***
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-03-18 10:50:28.671 ***
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-03-18 10:50:28.671 ***
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-03-18 10:50:28.671 ***
carol@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGNhcm9sAGppbmdsZWJlbGxz</auth>



*** User 2022-03-18 10:50:28.673 ***
carol@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:50:28.673 ***
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-03-18 10:50:28.685 ***
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-03-18 10:50:28.685 ***
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-03-18 10:50:28.685 ***
carol@domain.example.com/res1 out
<iq type='set' id='b8499a48ab175d0346dc0fab1ff8c099'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:50:28.686 ***
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' id='b8499a48ab175d0346dc0fab1ff8c099' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>carol@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:50:28.686 ***
carol@domain.example.com/res1 out
<iq type='set' id='98f7b571aac4be8d964b1fa05f3b6613'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:50:28.687 ***
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' type='result' id='98f7b571aac4be8d964b1fa05f3b6613'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:50:28.687 ***
carol@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:50:28.688 ***
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-03-18 10:50:28.688 ***
carol@domain.example.com/res1 out
<message from='not_carol@domain.example.com' to='geralt@domain.example.com' type='chat'>
	<body>I am not Carol</body>
</message>



*** User 2022-03-18 10:50:28.688 ***
carol@domain.example.com/res1 in
<stream:error>
	<invalid-from xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>


*** CT 2022-03-18 10:50:28.791 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_25.html
*** CT 2022-03-18 10:50:28.791 *** View log from node mongooseim@localhost when finished mongooseim@localhost_57.html



=== Ended at 2022-03-18 10:50:28
=== successfully completed test case
=== === Returned value: ok


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