=== Test case: rest_client_SUITE:rooms_can_be_listed/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.rooms_can_be_listed.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.373 *** alicE_rooms_can_be_listed_2161@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.373 *** alicE_rooms_can_be_listed_2161@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f9d8a33cba76a1d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:01.374 *** alicE_rooms_can_be_listed_2161@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.374 *** alicE_rooms_can_be_listed_2161@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jvb21zX2Nhbl9iZV9saXN0ZWRfMjE2MQBtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:37:01.375 *** alicE_rooms_can_be_listed_2161@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:01.375 *** alicE_rooms_can_be_listed_2161@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.375 *** alicE_rooms_can_be_listed_2161@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='baffe87da8ae3836' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:01.375 *** alicE_rooms_can_be_listed_2161@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.375 *** alicE_rooms_can_be_listed_2161@localhost/res1 out <iq type='set' id='43e9a59b4e0f445088cacc294fe95957'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:37:01.375 *** alicE_rooms_can_be_listed_2161@localhost/res1 in <iq id='43e9a59b4e0f445088cacc294fe95957' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_rooms_can_be_listed_2161@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:37:01.375 *** alicE_rooms_can_be_listed_2161@localhost/res1 out <iq type='set' id='0ecb5dbd4a18139c883c4204d4a60c92'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:01.376 *** alicE_rooms_can_be_listed_2161@localhost/res1 in <iq type='result' id='0ecb5dbd4a18139c883c4204d4a60c92'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:01.376 *** alicE_rooms_can_be_listed_2161@localhost/res1 out <presence/>
*** User 2022-01-27 15:37:01.378 *** alicE_rooms_can_be_listed_2161@localhost/res1 in <presence from='alicE_rooms_can_be_listed_2161@localhost/res1' to='alice_rooms_can_be_listed_2161@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:37:01.378 *** bOb_rooms_can_be_listed_2161@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.379 *** bOb_rooms_can_be_listed_2161@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e63b03cdd0efb3a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:01.379 *** bOb_rooms_can_be_listed_2161@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.379 *** bOb_rooms_can_be_listed_2161@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yb29tc19jYW5fYmVfbGlzdGVkXzIxNjEAbWFrcm9saWth</auth>
*** User 2022-01-27 15:37:01.380 *** bOb_rooms_can_be_listed_2161@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:01.380 *** bOb_rooms_can_be_listed_2161@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.380 *** bOb_rooms_can_be_listed_2161@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54b878441664f2a5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:01.380 *** bOb_rooms_can_be_listed_2161@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.380 *** bOb_rooms_can_be_listed_2161@localhost/res1 out <iq type='set' id='ef41920d0f8f299239b843e1e0ab9120'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-27 15:37:01.381 *** bOb_rooms_can_be_listed_2161@localhost/res1 in <iq id='ef41920d0f8f299239b843e1e0ab9120' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_rooms_can_be_listed_2161@localhost/res1</jid> </bind> </iq>
*** User 2022-01-27 15:37:01.381 *** bOb_rooms_can_be_listed_2161@localhost/res1 out <iq type='set' id='833bf1ec09dee279d93b86dbdee16a68'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:01.381 *** bOb_rooms_can_be_listed_2161@localhost/res1 in <iq type='result' id='833bf1ec09dee279d93b86dbdee16a68'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-27 15:37:01.381 *** bOb_rooms_can_be_listed_2161@localhost/res1 out <presence/>
*** User 2022-01-27 15:37:01.383 *** bOb_rooms_can_be_listed_2161@localhost/res1 in <presence from='bOb_rooms_can_be_listed_2161@localhost/res1' to='bob_rooms_can_be_listed_2161@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-01-27 15:37:01.384 *** =WARNING REPORT==== 27-Jan-2022::15:37:01.384487 === 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.395 *** REST request: Code: 200 Req: {<0.9573.2>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"05fcf617593aa797">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8yMTYxQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:01 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"2">>}], <<"[]">>,125,1575} Params: #{body => <<>>, creds => {<<"alice_rooms_can_be_listed_2161@localhost">>,<<"matygrysa">>}, method => <<"GET">>,path => <<"/api/rooms">>,return_headers => true, role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-01-27 15:37:01.396 *** =WARNING REPORT==== 27-Jan-2022::15:37:01.396351 === 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.404 *** REST request: Code: 200 Req: {<0.9578.2>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"795732078125da0e">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8yMTYxQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"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-404134\"}">>,151,1524} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_rooms_can_be_listed_2161@localhost">>,<<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-01-27 15:37:01.405 *** =WARNING REPORT==== 27-Jan-2022::15:37:01.405602 === 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.419 *** REST request: Code: 204 Req: {<0.9583.2>,<<"/api/rooms/1643-297821-404134/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"4f4f03b778bad9c9">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8yMTYxQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"user\":\"bob_rooms_can_be_listed_2161@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:01 GMT">>}], <<>>,80,6770} Params: #{body => <<"{\"user\":\"bob_rooms_can_be_listed_2161@localhost\"}">>, creds => {<<"alice_rooms_can_be_listed_2161@localhost">>,<<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-297821-404134/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:01.419 *** bOb_rooms_can_be_listed_2161@localhost/res1 in <message from='1643-297821-404134@muclight.localhost' to='bob_rooms_can_be_listed_2161@localhost' id='eee8b412-33b3-45d5-ba95-69023e785396' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1643-297821-415028</version> <user affiliation='member'>bob_rooms_can_be_listed_2161@localhost</user> </x> <body/> </message>
*** User 2022-01-27 15:37:01.419 *** alicE_rooms_can_be_listed_2161@localhost/res1 in <message from='1643-297821-404134@muclight.localhost' to='alice_rooms_can_be_listed_2161@localhost' id='eee8b412-33b3-45d5-ba95-69023e785396' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1643-297821-404089</prev-version> <version>1643-297821-415028</version> <user affiliation='member'>bob_rooms_can_be_listed_2161@localhost</user> </x> <body/> <stanza-id by='1643-297821-404134@muclight.localhost' id='BLKI2RJT6MO1' xmlns='urn:xmpp:sid:0'/> </message>
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-01-27 15:37:01.421 *** =WARNING REPORT==== 27-Jan-2022::15:37:01.421101 === 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.429 *** REST request: Code: 200 Req: {<0.9588.2>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f43c8ffc899bfaf0">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8yMTYxQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:01 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"82">>}], <<"[{\"subject\":\"This room subject\",\"name\":\"new_room_name\",\"id\":\"1643-297821-404134\"}]">>, 206,1419} Params: #{body => <<>>, creds => {<<"alice_rooms_can_be_listed_2161@localhost">>,<<"matygrysa">>}, method => <<"GET">>,path => <<"/api/rooms">>,return_headers => true, role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-01-27 15:37:01.431 *** =WARNING REPORT==== 27-Jan-2022::15:37:01.431070 === 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.439 *** REST request: Code: 200 Req: {<0.9593.2>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"d763ea7798fe2160">>}, {<<"authorization">>, <<"Basic Ym9iX3Jvb21zX2Nhbl9iZV9saXN0ZWRfMjE2MUBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 27 Jan 2022 15:37:01 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"82">>}], <<"[{\"subject\":\"This room subject\",\"name\":\"new_room_name\",\"id\":\"1643-297821-404134\"}]">>, 206,1455} Params: #{body => <<>>, creds => {<<"bob_rooms_can_be_listed_2161@localhost">>,<<"makrolika">>}, method => <<"GET">>,path => <<"/api/rooms">>,return_headers => true, role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:01.439 *** bOb_rooms_can_be_listed_2161@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:37:01.439 *** bOb_rooms_can_be_listed_2161@localhost/res1 in </stream:stream>
*** User 2022-01-27 15:37:01.439 *** alicE_rooms_can_be_listed_2161@localhost/res1 out </stream:stream>
*** User 2022-01-27 15:37:01.439 *** alicE_rooms_can_be_listed_2161@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