=== Test case: rest_client_SUITE:rooms_can_be_listed/1 (click for source code) === Config value: [{watchdog,<0.14860.1>}, {muc_light_host,<<"muclight.localhost">>}, {mam_backend,disabled}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"}, {preset,"ldap_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.38.20/rest_client_suite.rooms_can_be_listed.html"}, {tc_group_properties,[{name,muc},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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.38.20/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 => [],mod_sic => [],mod_stream_management => [], mod_vcard => [{backend,ldap}, {host,{prefix,<<"vjud.">>}}, {ldap_base,"ou=Users,dc=esl,dc=com"}, {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39" === Started at 2022-03-03 10:38:20
*** User 2022-03-03 10:38:20.908 *** alicE_rooms_can_be_listed_1296@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-03-03 10:38:20.908 *** alicE_rooms_can_be_listed_1296@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f2441a35fd7cfd60' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:20.908 *** alicE_rooms_can_be_listed_1296@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>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-03 10:38:20.908 *** alicE_rooms_can_be_listed_1296@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jvb21zX2Nhbl9iZV9saXN0ZWRfMTI5NgBtYXR5Z3J5c2E=</auth>
*** User 2022-03-03 10:38:20.909 *** alicE_rooms_can_be_listed_1296@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:38:20.909 *** alicE_rooms_can_be_listed_1296@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-03-03 10:38:20.910 *** alicE_rooms_can_be_listed_1296@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='485ae53975f17e97' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:20.910 *** alicE_rooms_can_be_listed_1296@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-03-03 10:38:20.910 *** alicE_rooms_can_be_listed_1296@localhost/res1 out <iq type='set' id='762b531fadf4722affef44df70d45251'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:38:20.910 *** alicE_rooms_can_be_listed_1296@localhost/res1 in <iq id='762b531fadf4722affef44df70d45251' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_rooms_can_be_listed_1296@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:38:20.910 *** alicE_rooms_can_be_listed_1296@localhost/res1 out <iq type='set' id='fa3e51c42d44846b1d5b1d9085dfc625'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:38:20.910 *** alicE_rooms_can_be_listed_1296@localhost/res1 in <iq type='result' id='fa3e51c42d44846b1d5b1d9085dfc625'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:38:20.910 *** alicE_rooms_can_be_listed_1296@localhost/res1 out <presence/>
*** User 2022-03-03 10:38:20.911 *** alicE_rooms_can_be_listed_1296@localhost/res1 in <presence from='alicE_rooms_can_be_listed_1296@localhost/res1' to='alice_rooms_can_be_listed_1296@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:38:20.911 *** bOb_rooms_can_be_listed_1296@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-03-03 10:38:20.912 *** bOb_rooms_can_be_listed_1296@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f998828280e0e75' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:20.912 *** bOb_rooms_can_be_listed_1296@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>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-03 10:38:20.912 *** bOb_rooms_can_be_listed_1296@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yb29tc19jYW5fYmVfbGlzdGVkXzEyOTYAbWFrcm9saWth</auth>
*** User 2022-03-03 10:38:20.913 *** bOb_rooms_can_be_listed_1296@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:38:20.913 *** bOb_rooms_can_be_listed_1296@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-03-03 10:38:20.914 *** bOb_rooms_can_be_listed_1296@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7577c408f41aed74' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:20.914 *** bOb_rooms_can_be_listed_1296@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-03-03 10:38:20.914 *** bOb_rooms_can_be_listed_1296@localhost/res1 out <iq type='set' id='2e17290871cd0a2ee25cd84293df288e'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:38:20.914 *** bOb_rooms_can_be_listed_1296@localhost/res1 in <iq id='2e17290871cd0a2ee25cd84293df288e' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_rooms_can_be_listed_1296@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:38:20.914 *** bOb_rooms_can_be_listed_1296@localhost/res1 out <iq type='set' id='cd360f5c3cf23be0294e08a9b82e9c8b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:38:20.914 *** bOb_rooms_can_be_listed_1296@localhost/res1 in <iq type='result' id='cd360f5c3cf23be0294e08a9b82e9c8b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:38:20.914 *** bOb_rooms_can_be_listed_1296@localhost/res1 out <presence/>
*** User 2022-03-03 10:38:20.915 *** bOb_rooms_can_be_listed_1296@localhost/res1 in <presence from='bOb_rooms_can_be_listed_1296@localhost/res1' to='bob_rooms_can_be_listed_1296@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-03-03 10:38:20.916 *** =WARNING REPORT==== 3-Mar-2022::10:38:20.916517 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-03 10:38:20.924 *** REST request: Code: 200 Req: {<0.14988.1>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"81f1035090080fb8">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8xMjk2QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"2">>}], <<"[]">>,125,1413} Params: #{body => <<>>, creds => {<<"alice_rooms_can_be_listed_1296@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-03-03 10:38:20.926 *** =WARNING REPORT==== 3-Mar-2022::10:38:20.926197 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-03 10:38:20.934 *** REST request: Code: 200 Req: {<0.14993.1>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"fb8d13c85a9ae621">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8xMjk2QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1646-303900-934064\"}">>,151,1772} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_rooms_can_be_listed_1296@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-03-03 10:38:20.935 *** =WARNING REPORT==== 3-Mar-2022::10:38:20.935817 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-03 10:38:20.945 *** REST request: Code: 204 Req: {<0.14998.1>,<<"/api/rooms/1646-303900-934064/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"523fc4d289f220fc">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8xMjk2QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"user\":\"bob_rooms_can_be_listed_1296@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}], <<>>,80,2301} Params: #{body => <<"{\"user\":\"bob_rooms_can_be_listed_1296@localhost\"}">>, creds => {<<"alice_rooms_can_be_listed_1296@localhost">>,<<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1646-303900-934064/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:20.946 *** bOb_rooms_can_be_listed_1296@localhost/res1 in <message from='1646-303900-934064@muclight.localhost' to='bob_rooms_can_be_listed_1296@localhost' id='608f649c-775e-40fe-be4f-5ea07f92e5b0' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1646-303900-945157</version> <user affiliation='member'>bob_rooms_can_be_listed_1296@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:38:20.946 *** alicE_rooms_can_be_listed_1296@localhost/res1 in <message from='1646-303900-934064@muclight.localhost' to='alice_rooms_can_be_listed_1296@localhost' id='608f649c-775e-40fe-be4f-5ea07f92e5b0' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1646-303900-934025</prev-version> <version>1646-303900-945157</version> <user affiliation='member'>bob_rooms_can_be_listed_1296@localhost</user> </x> <body/> </message>
*** System report during rest_client_SUITE:rooms_can_be_listed/1 in muc 2022-03-03 10:38:20.947 *** =WARNING REPORT==== 3-Mar-2022::10:38:20.947443 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-03 10:38:20.956 *** REST request: Code: 200 Req: {<0.15003.1>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"e1032faa522f6332">>}, {<<"authorization">>, <<"Basic YWxpY2Vfcm9vbXNfY2FuX2JlX2xpc3RlZF8xMjk2QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"82">>}], <<"[{\"subject\":\"This room subject\",\"name\":\"new_room_name\",\"id\":\"1646-303900-934064\"}]">>, 206,1394} Params: #{body => <<>>, creds => {<<"alice_rooms_can_be_listed_1296@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-03-03 10:38:20.957 *** =WARNING REPORT==== 3-Mar-2022::10:38:20.957757 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-03 10:38:20.967 *** REST request: Code: 200 Req: {<0.15008.1>,<<"/api/rooms">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"2aa2c26e453a5eb1">>}, {<<"authorization">>, <<"Basic Ym9iX3Jvb21zX2Nhbl9iZV9saXN0ZWRfMTI5NkBsb2NhbGhvc3Q6bWFrcm9saWth">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"82">>}], <<"[{\"subject\":\"This room subject\",\"name\":\"new_room_name\",\"id\":\"1646-303900-934064\"}]">>, 206,1673} Params: #{body => <<>>, creds => {<<"bob_rooms_can_be_listed_1296@localhost">>,<<"makrolika">>}, method => <<"GET">>,path => <<"/api/rooms">>,return_headers => true, role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:20.967 *** bOb_rooms_can_be_listed_1296@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:38:20.967 *** bOb_rooms_can_be_listed_1296@localhost/res1 in </stream:stream>
*** User 2022-03-03 10:38:20.968 *** alicE_rooms_can_be_listed_1296@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:38:20.968 *** alicE_rooms_can_be_listed_1296@localhost/res1 in </stream:stream>
=== Ended at 2022-03-03 10:38:20 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result