=== Test case: rest_client_SUITE:rooms_can_be_listed/1 (click for source code) === Config value: [{watchdog,<0.8808.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/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@ebe8a8f9fc53.2022-01-25_16.21.59" === Started at 2022-01-25 16:34:33
*** User 2022-01-25 16:34:33.286 *** alicE_rooms_can_be_listed_2225@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-25 16:34:33.286 *** alicE_rooms_can_be_listed_2225@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ec66947708c2131' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:33.286 *** alicE_rooms_can_be_listed_2225@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-25 16:34:33.286 *** alicE_rooms_can_be_listed_2225@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jvb21zX2Nhbl9iZV9saXN0ZWRfMjIyNQBtYXR5Z3J5c2E=</auth>
*** User 2022-01-25 16:34:33.287 *** alicE_rooms_can_be_listed_2225@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:34:33.287 *** alicE_rooms_can_be_listed_2225@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-25 16:34:33.288 *** alicE_rooms_can_be_listed_2225@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af6edbc9992fd8ab' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:33.288 *** alicE_rooms_can_be_listed_2225@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-25 16:34:33.288 *** alicE_rooms_can_be_listed_2225@localhost/res1 out <iq type='set' id='eb17923ad87fb12e385a4121630bf4e7'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-25 16:34:33.288 *** alicE_rooms_can_be_listed_2225@localhost/res1 in <iq id='eb17923ad87fb12e385a4121630bf4e7' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_rooms_can_be_listed_2225@localhost/res1</jid> </bind> </iq>
*** User 2022-01-25 16:34:33.288 *** alicE_rooms_can_be_listed_2225@localhost/res1 out <iq type='set' id='ab8866a0a262ffea78bc50ec15d8b083'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:33.288 *** alicE_rooms_can_be_listed_2225@localhost/res1 in <iq type='result' id='ab8866a0a262ffea78bc50ec15d8b083'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:33.289 *** alicE_rooms_can_be_listed_2225@localhost/res1 out <presence/>
*** User 2022-01-25 16:34:33.290 *** alicE_rooms_can_be_listed_2225@localhost/res1 in <presence from='alicE_rooms_can_be_listed_2225@localhost/res1' to='alice_rooms_can_be_listed_2225@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:34:33.291 *** bOb_rooms_can_be_listed_2225@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-25 16:34:33.291 *** bOb_rooms_can_be_listed_2225@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8dc98f2579e99aff' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:33.292 *** bOb_rooms_can_be_listed_2225@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-25 16:34:33.292 *** bOb_rooms_can_be_listed_2225@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yb29tc19jYW5fYmVfbGlzdGVkXzIyMjUAbWFrcm9saWth</auth>
*** User 2022-01-25 16:34:33.293 *** bOb_rooms_can_be_listed_2225@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:34:33.293 *** bOb_rooms_can_be_listed_2225@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-25 16:34:33.293 *** bOb_rooms_can_be_listed_2225@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='603ac8683ebaff63' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:33.293 *** bOb_rooms_can_be_listed_2225@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-25 16:34:33.293 *** bOb_rooms_can_be_listed_2225@localhost/res1 out <iq type='set' id='aa50a1e6c4d1216d8b3c58d740f21a72'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-25 16:34:33.294 *** bOb_rooms_can_be_listed_2225@localhost/res1 in <iq id='aa50a1e6c4d1216d8b3c58d740f21a72' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_rooms_can_be_listed_2225@localhost/res1</jid> </bind> </iq>
*** User 2022-01-25 16:34:33.294 *** bOb_rooms_can_be_listed_2225@localhost/res1 out <iq type='set' id='8486a93a5859f4aa96aff740627251d6'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:33.294 *** bOb_rooms_can_be_listed_2225@localhost/res1 in <iq type='result' id='8486a93a5859f4aa96aff740627251d6'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:33.294 *** bOb_rooms_can_be_listed_2225@localhost/res1 out <presence/>
*** User 2022-01-25 16:34:33.296 *** bOb_rooms_can_be_listed_2225@localhost/res1 in <presence from='bOb_rooms_can_be_listed_2225@localhost/res1' to='bob_rooms_can_be_listed_2225@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-01-25 16:34:33.297 *** =WARNING REPORT==== 25-Jan-2022::16:34:33.297596 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:33.306 *** REST request: Code: 200 Req: {<0.8936.2>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"a4719a16ac473444">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8yMjI1QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:32 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"2">>}], <<"[]">>,125,1405} Params: #{body => <<>>, creds => {<<"alice_rooms_can_be_listed_2225@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-25 16:34:33.308 *** =WARNING REPORT==== 25-Jan-2022::16:34:33.308501 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:33.319 *** REST request: Code: 200 Req: {<0.8941.2>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"e6c76388ca5e37d5">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8yMjI1QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:32 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1643-128473-319247\"}">>,151,1798} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_rooms_can_be_listed_2225@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-25 16:34:33.320 *** =WARNING REPORT==== 25-Jan-2022::16:34:33.320721 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:33.335 *** REST request: Code: 204 Req: {<0.8946.2>,<<"/api/rooms/1643-128473-319247/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"33fce38156e3b5e1">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8yMjI1QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"user\":\"bob_rooms_can_be_listed_2225@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:32 GMT">>}], <<>>,80,7258} Params: #{body => <<"{\"user\":\"bob_rooms_can_be_listed_2225@localhost\"}">>, creds => {<<"alice_rooms_can_be_listed_2225@localhost">>,<<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-128473-319247/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-25 16:34:33.335 *** bOb_rooms_can_be_listed_2225@localhost/res1 in <message from='1643-128473-319247@muclight.localhost' to='bob_rooms_can_be_listed_2225@localhost' id='b6f80ede-dead-4cec-bded-c1073ad847d1' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1643-128473-330486</version> <user affiliation='member'>bob_rooms_can_be_listed_2225@localhost</user> </x> <body/> </message>
*** User 2022-01-25 16:34:33.335 *** alicE_rooms_can_be_listed_2225@localhost/res1 in <message from='1643-128473-319247@muclight.localhost' to='alice_rooms_can_be_listed_2225@localhost' id='b6f80ede-dead-4cec-bded-c1073ad847d1' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1643-128473-319195</prev-version> <version>1643-128473-330486</version> <user affiliation='member'>bob_rooms_can_be_listed_2225@localhost</user> </x> <body/> <stanza-id by='1643-128473-319247@muclight.localhost' id='BLJAL3SHVGG1' xmlns='urn:xmpp:sid:0'/> </message>
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-01-25 16:34:33.336 *** =WARNING REPORT==== 25-Jan-2022::16:34:33.336764 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:33.345 *** REST request: Code: 200 Req: {<0.8951.2>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c40cd44c6ecf07e7">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8yMjI1QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:32 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"82">>}], <<"[{\"subject\":\"This room subject\",\"name\":\"new_room_name\",\"id\":\"1643-128473-319247\"}]">>, 206,1521} Params: #{body => <<>>, creds => {<<"alice_rooms_can_be_listed_2225@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-25 16:34:33.347 *** =WARNING REPORT==== 25-Jan-2022::16:34:33.347524 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:33.357 *** REST request: Code: 200 Req: {<0.8956.2>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"42176bbf0cd5f628">>}, {<<"authorization">>, <<"Basic Ym9iX3Jvb21zX2Nhbl9iZV9saXN0ZWRfMjIyNUBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"82">>}], <<"[{\"subject\":\"This room subject\",\"name\":\"new_room_name\",\"id\":\"1643-128473-319247\"}]">>, 206,1546} Params: #{body => <<>>, creds => {<<"bob_rooms_can_be_listed_2225@localhost">>,<<"makrolika">>}, method => <<"GET">>,path => <<"/api/rooms">>,return_headers => true, role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-25 16:34:33.357 *** bOb_rooms_can_be_listed_2225@localhost/res1 out </stream:stream>
*** User 2022-01-25 16:34:33.357 *** bOb_rooms_can_be_listed_2225@localhost/res1 in </stream:stream>
*** User 2022-01-25 16:34:33.357 *** alicE_rooms_can_be_listed_2225@localhost/res1 out </stream:stream>
*** User 2022-01-25 16:34:33.357 *** alicE_rooms_can_be_listed_2225@localhost/res1 in </stream:stream>
=== Ended at 2022-01-25 16:34:33 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result