=== Test case: rest_client_SUITE:user_can_leave_a_room/1 (click for source code) === Config value: [{watchdog,<0.9445.2>}, {muc_light_host,<<"muclight.localhost">>}, {mam_backend,rdbms}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"}, {preset,"odbc_mssql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/rest_client_suite.user_can_leave_a_room.html"}, {tc_group_properties,[{name,muc},{repeat_until_all_ok,3},pararell]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_client_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_adhoc => [],mod_amp => [],mod_bosh => [], mod_cache_users => [{number_of_segments,5},{time_to_live,2}], mod_carboncopy => [],mod_commands => [], mod_disco => [{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}], mod_sic => [],mod_stream_management => [], mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11" === Started at 2022-01-27 15:37:01
*** User 2022-01-27 15:37:01.561 *** alicE_user_can_leave_a_room_2163@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-01-27 15:37:01.562 *** alicE_user_can_leave_a_room_2163@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='235d0168b6a47212' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:01.562 *** alicE_user_can_leave_a_room_2163@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-01-27 15:37:01.562 *** alicE_user_can_leave_a_room_2163@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfY2FuX2xlYXZlX2Ffcm9vbV8yMTYzAG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:37:01.563 *** alicE_user_can_leave_a_room_2163@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:01.563 *** alicE_user_can_leave_a_room_2163@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-01-27 15:37:01.563 *** alicE_user_can_leave_a_room_2163@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9799c36ba17dee23' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:01.563 *** alicE_user_can_leave_a_room_2163@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-01-27 15:37:01.563 *** alicE_user_can_leave_a_room_2163@localhost/res1 out <iq type='set' id='756fc82cd208617e4dd6c7ed9840e2e5'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:37:01.564 *** alicE_user_can_leave_a_room_2163@localhost/res1 in <iq id='756fc82cd208617e4dd6c7ed9840e2e5' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_user_can_leave_a_room_2163@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:37:01.564 *** alicE_user_can_leave_a_room_2163@localhost/res1 out <iq type='set' id='f530af713affdbe4fcd65ca1d97bef9f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:01.564 *** alicE_user_can_leave_a_room_2163@localhost/res1 in <iq type='result' id='f530af713affdbe4fcd65ca1d97bef9f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:01.564 *** alicE_user_can_leave_a_room_2163@localhost/res1 out <presence/>
*** User 2022-01-27 15:37:01.566 *** alicE_user_can_leave_a_room_2163@localhost/res1 in <presence from='alicE_user_can_leave_a_room_2163@localhost/res1' to='alice_user_can_leave_a_room_2163@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:37:01.567 *** bOb_user_can_leave_a_room_2163@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-01-27 15:37:01.567 *** bOb_user_can_leave_a_room_2163@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ef0d63ab6e72d60' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:01.568 *** bOb_user_can_leave_a_room_2163@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-01-27 15:37:01.568 *** bOb_user_can_leave_a_room_2163@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2Nhbl9sZWF2ZV9hX3Jvb21fMjE2MwBtYWtyb2xpa2E=</auth>
*** User 2022-01-27 15:37:01.569 *** bOb_user_can_leave_a_room_2163@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:01.569 *** bOb_user_can_leave_a_room_2163@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-01-27 15:37:01.569 *** bOb_user_can_leave_a_room_2163@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4fe2a4f82ecdf8a8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:01.569 *** bOb_user_can_leave_a_room_2163@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-01-27 15:37:01.569 *** bOb_user_can_leave_a_room_2163@localhost/res1 out <iq type='set' id='c4dc8a3df338c63b6c5c959064d4931d'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:37:01.570 *** bOb_user_can_leave_a_room_2163@localhost/res1 in <iq id='c4dc8a3df338c63b6c5c959064d4931d' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_user_can_leave_a_room_2163@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:37:01.570 *** bOb_user_can_leave_a_room_2163@localhost/res1 out <iq type='set' id='d5ac3dcc46a3cdb8756ee5c38383704b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:01.570 *** bOb_user_can_leave_a_room_2163@localhost/res1 in <iq type='result' id='d5ac3dcc46a3cdb8756ee5c38383704b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:01.570 *** bOb_user_can_leave_a_room_2163@localhost/res1 out <presence/>
*** User 2022-01-27 15:37:01.573 *** bOb_user_can_leave_a_room_2163@localhost/res1 in <presence from='bOb_user_can_leave_a_room_2163@localhost/res1' to='bob_user_can_leave_a_room_2163@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:user_can_leave_a_room/1 in muc 2022-01-27 15:37:01.574 *** =WARNING REPORT==== 27-Jan-2022::15:37:01.574380 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:37:01.582 *** REST request: Code: 200 Req: {<0.9647.2>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"bd6b6f8615eb48e1">>}, {<<"authorization">>, <<"Basic YWxpY2VfdXNlcl9jYW5fbGVhdmVfYV9yb29tXzIxNjNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:01 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1643-297821-582493\"}">>,151,1792} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_user_can_leave_a_room_2163@localhost">>, <<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:user_can_leave_a_room/1 in muc 2022-01-27 15:37:01.584 *** =WARNING REPORT==== 27-Jan-2022::15:37:01.584121 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:37:01.597 *** REST request: Code: 204 Req: {<0.9652.2>,<<"/api/rooms/1643-297821-582493/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"6571eac8e5000442">>}, {<<"authorization">>, <<"Basic YWxpY2VfdXNlcl9jYW5fbGVhdmVfYV9yb29tXzIxNjNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"user\":\"bob_user_can_leave_a_room_2163@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:01 GMT">>}], <<>>,80,7148} Params: #{body => <<"{\"user\":\"bob_user_can_leave_a_room_2163@localhost\"}">>, creds => {<<"alice_user_can_leave_a_room_2163@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-297821-582493/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:01.598 *** bOb_user_can_leave_a_room_2163@localhost/res1 in <message from='1643-297821-582493@muclight.localhost' to='bob_user_can_leave_a_room_2163@localhost' id='92283925-7126-4bd1-9a9f-35d961e67030' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1643-297821-592805</version> <user affiliation='member'>bob_user_can_leave_a_room_2163@localhost</user> </x> <body/> </message>
*** User 2022-01-27 15:37:01.598 *** alicE_user_can_leave_a_room_2163@localhost/res1 in <message from='1643-297821-582493@muclight.localhost' to='alice_user_can_leave_a_room_2163@localhost' id='92283925-7126-4bd1-9a9f-35d961e67030' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1643-297821-582452</prev-version> <version>1643-297821-592805</version> <user affiliation='member'>bob_user_can_leave_a_room_2163@localhost</user> </x> <body/> <stanza-id by='1643-297821-582493@muclight.localhost' id='BLKI2RL8JRO1' xmlns='urn:xmpp:sid:0'/> </message>
*** System report during rest_client_SUITE:user_can_leave_a_room/1 in muc 2022-01-27 15:37:01.599 *** =WARNING REPORT==== 27-Jan-2022::15:37:01.599151 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-27 15:37:01.613 *** REST request: Code: 204 Req: {<0.9657.2>, <<"/api/rooms/1643-297821-582493/users/bob_user_can_leave_a_room_2163@localhost">>, <<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"58f1174ded8ef4d6">>}, {<<"authorization">>, <<"Basic Ym9iX3VzZXJfY2FuX2xlYXZlX2Ffcm9vbV8yMTYzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}], <<>>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:01 GMT">>}], <<>>,80,6315} Params: #{body => <<>>, creds => {<<"bob_user_can_leave_a_room_2163@localhost">>,<<"makrolika">>}, method => <<"DELETE">>, path => <<"/api/rooms/1643-297821-582493/users/bob_user_can_leave_a_room_2163@localhost">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:01.613 *** bOb_user_can_leave_a_room_2163@localhost/res1 in <message from='1643-297821-582493@muclight.localhost' to='bob_user_can_leave_a_room_2163@localhost' id='e161b708-43cf-4c6d-be95-f01e41c1575d' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <user affiliation='none'>bob_user_can_leave_a_room_2163@localhost</user> </x> <body/> </message>
*** User 2022-01-27 15:37:01.613 *** bOb_user_can_leave_a_room_2163@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:37:01.613 *** bOb_user_can_leave_a_room_2163@localhost/res1 in </stream:stream>
*** User 2022-01-27 15:37:01.613 *** alicE_user_can_leave_a_room_2163@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:37:01.613 *** alicE_user_can_leave_a_room_2163@localhost/res1 in </stream:stream>
=== Ended at 2022-01-27 15:37:01 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result