=== Test case: private_SUITE:set_other_user/1 (click for source code) === Config value: [{watchdog,<0.4385.2>}, {backend,rdbms}, {mim_data_dir,"/home/circleci/project/big_tests/tests/private_SUITE_data"}, {preset,"odbc_mssql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.private_SUITE.logs/run.2022-04-04_15.13.14/private_suite.set_other_user.html"}, {tc_group_properties,[{name,private_negative}, {repeat_until_all_ok,3}, sequence]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/private_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.private_SUITE.logs/run.2022-04-04_15.13.14/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{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 => [{access,register}, {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]}, {welcome_message,{[],[]}}], 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,[{alice,[{username,<<"alicE">>}, {server,<<"localhost">>}, {password,<<"matygrysa">>}]}, {bob,[{username,<<"bOb">>}, {server,<<"localhost">>}, {password,<<"makrolika">>}]}]}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36" === Started at 2022-04-04 15:13:14
*** User 2022-04-04 15:13:15.006 *** alicE@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:15.007 *** alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77f890c4d1bcb473' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:15.007 *** alicE@localhost/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-04-04 15:13:15.007 *** alicE@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2022-04-04 15:13:15.008 *** alicE@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:13:15.008 *** alicE@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:15.008 *** alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8380c7a486438ca8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:15.008 *** alicE@localhost/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-04-04 15:13:15.009 *** alicE@localhost/res1 out <iq type='set' id='4043da488ac71904d93e213de725b625'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-04-04 15:13:15.009 *** alicE@localhost/res1 in <iq id='4043da488ac71904d93e213de725b625' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE@localhost/res1</jid> </bind> </iq>
*** User 2022-04-04 15:13:15.009 *** alicE@localhost/res1 out <iq type='set' id='bafb17934d884432651ffa760a402e68'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:13:15.009 *** alicE@localhost/res1 in <iq type='result' id='bafb17934d884432651ffa760a402e68'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:13:15.009 *** alicE@localhost/res1 out <presence/>
*** User 2022-04-04 15:13:15.010 *** alicE@localhost/res1 in <presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:13:15.011 *** bOb@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:15.011 *** bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ef4b52c6423f57a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:15.011 *** bOb@localhost/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-04-04 15:13:15.011 *** bOb@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2022-04-04 15:13:15.012 *** bOb@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:13:15.012 *** bOb@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:13:15.013 *** bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc34e66462e3a0f0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:13:15.013 *** bOb@localhost/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-04-04 15:13:15.013 *** bOb@localhost/res1 out <iq type='set' id='e6cf42b30b53ca51ff32a48462159150'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-04-04 15:13:15.013 *** bOb@localhost/res1 in <iq id='e6cf42b30b53ca51ff32a48462159150' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb@localhost/res1</jid> </bind> </iq>
*** User 2022-04-04 15:13:15.013 *** bOb@localhost/res1 out <iq type='set' id='11fadc36f1c8c23f368139b8f9d48a0e'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:13:15.013 *** bOb@localhost/res1 in <iq type='result' id='11fadc36f1c8c23f368139b8f9d48a0e'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:13:15.013 *** bOb@localhost/res1 out <presence/>
*** User 2022-04-04 15:13:15.014 *** bOb@localhost/res1 in <presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:13:15.014 *** alicE@localhost/res1 out <iq type='set' id='aa73d18aa4816cf18522d0b469058c89' to='bOb@localhost'> <query xmlns='jabber:iq:private'> <my_element xmlns='bob:private:ns'> <banana/> </my_element> </query> </iq>
*** User 2022-04-04 15:13:15.015 *** alicE@localhost/res1 in <iq from='bOb@localhost' to='alicE@localhost/res1' id='aa73d18aa4816cf18522d0b469058c89' type='error'> <query xmlns='jabber:iq:private'> <my_element xmlns='bob:private:ns'> <banana/> </my_element> </query> <error code='403' type='auth'> <forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> <text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Only requests from/to your JID are allowed</text> </error> </iq>
*** User 2022-04-04 15:13:15.015 *** bOb@localhost/res1 out </stream:stream>
*** User 2022-04-04 15:13:15.015 *** bOb@localhost/res1 in </stream:stream>
*** User 2022-04-04 15:13:15.016 *** alicE@localhost/res1 out </stream:stream>
*** User 2022-04-04 15:13:15.016 *** alicE@localhost/res1 in </stream:stream>
=== Ended at 2022-04-04 15:13:15 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result