=== Test case: rest_client_SUITE:user_is_invited_to_a_room/1 (click for source code) === Config value: [{watchdog,<0.14754.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.39.21/rest_client_suite.user_is_invited_to_a_room.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.39.21/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@fdcb4a001941.2022-03-03_10.29.25" === Started at 2022-03-03 10:39:21
*** User 2022-03-03 10:39:21.859 *** alicE_user_is_invited_to_a_room_1146@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:39:21.859 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='432a454f303ef844' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:21.859 *** alicE_user_is_invited_to_a_room_1146@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:39:21.860 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfaXNfaW52aXRlZF90b19hX3Jvb21fMTE0NgBtYXR5Z3J5c2E=</auth>
*** User 2022-03-03 10:39:21.861 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:21.861 *** alicE_user_is_invited_to_a_room_1146@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:39:21.861 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f1ce32d9ac68312' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:21.861 *** alicE_user_is_invited_to_a_room_1146@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:39:21.861 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 out <iq type='set' id='1fd8d81597c8f5b1fbca70fc53adff13'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:39:21.861 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in <iq id='1fd8d81597c8f5b1fbca70fc53adff13' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_user_is_invited_to_a_room_1146@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:39:21.861 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 out <iq type='set' id='dd86d1ac3312743e4746401dbed086a8'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:21.862 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in <iq type='result' id='dd86d1ac3312743e4746401dbed086a8'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:21.862 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 out <presence/>
*** User 2022-03-03 10:39:21.862 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in <presence from='alicE_user_is_invited_to_a_room_1146@localhost/res1' to='alice_user_is_invited_to_a_room_1146@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:21.863 *** bOb_user_is_invited_to_a_room_1146@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:39:21.863 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4dba34ebc38181af' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:21.863 *** bOb_user_is_invited_to_a_room_1146@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:39:21.863 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2lzX2ludml0ZWRfdG9fYV9yb29tXzExNDYAbWFrcm9saWth</auth>
*** User 2022-03-03 10:39:21.864 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:21.865 *** bOb_user_is_invited_to_a_room_1146@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:39:21.865 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6fba71a28fd32b9e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:21.865 *** bOb_user_is_invited_to_a_room_1146@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:39:21.865 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 out <iq type='set' id='98c45b36369eaf2be5c43278c83a7615'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:39:21.865 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 in <iq id='98c45b36369eaf2be5c43278c83a7615' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_user_is_invited_to_a_room_1146@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:39:21.865 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 out <iq type='set' id='fa09f73e41b44982d15a27c564b7970c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:21.865 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 in <iq type='result' id='fa09f73e41b44982d15a27c564b7970c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:21.865 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 out <presence/>
*** User 2022-03-03 10:39:21.866 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 in <presence from='bOb_user_is_invited_to_a_room_1146@localhost/res1' to='bob_user_is_invited_to_a_room_1146@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:21.876 *** REST request: Code: 200 Req: {<0.14823.1>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"eedfc29d13bcbd3c">>}, {<<"authorization">>, <<"Basic YWxpY2VfdXNlcl9pc19pbnZpdGVkX3RvX2Ffcm9vbV8xMTQ2QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1646-303961-875983\"}">>,151,1898} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_user_is_invited_to_a_room_1146@localhost">>, <<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:21.886 *** REST request: Code: 204 Req: {<0.14829.1>,<<"/api/rooms/1646-303961-875983/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"9adda2ef05a4268d">>}, {<<"authorization">>, <<"Basic YWxpY2VfdXNlcl9pc19pbnZpdGVkX3RvX2Ffcm9vbV8xMTQ2QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<"{\"user\":\"bob_user_is_invited_to_a_room_1146@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}], <<>>,80,2266} Params: #{body => <<"{\"user\":\"bob_user_is_invited_to_a_room_1146@localhost\"}">>, creds => {<<"alice_user_is_invited_to_a_room_1146@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1646-303961-875983/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:21.886 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 in <message from='1646-303961-875983@muclight.localhost' to='bob_user_is_invited_to_a_room_1146@localhost' id='b53f5fea-86f1-47d7-9804-3da38f4638cf' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1646-303961-885407</version> <user affiliation='member'>bob_user_is_invited_to_a_room_1146@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:39:21.886 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in <message from='1646-303961-875983@muclight.localhost' to='alice_user_is_invited_to_a_room_1146@localhost' id='b53f5fea-86f1-47d7-9804-3da38f4638cf' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1646-303961-875922</prev-version> <version>1646-303961-885407</version> <user affiliation='member'>bob_user_is_invited_to_a_room_1146@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:39:21.895 *** REST request: Code: 200 Req: {<0.14835.1>,<<"/api/rooms/1646-303961-875983">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"6809c1728905de42">>}, {<<"authorization">>, <<"Basic YWxpY2VfdXNlcl9pc19pbnZpdGVkX3RvX2Ffcm9vbV8xMTQ2QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"216">>}], <<"{\"subject\":\"This room subject\",\"participants\":[{\"user\":\"alice_user_is_invited_to_a_room_1146@localhost\",\"role\":\"owner\"},{\"user\":\"bob_user_is_invited_to_a_room_1146@localhost\",\"role\":\"member\"}],\"name\":\"new_room_name\"}">>, 341,1523} Params: #{body => <<>>, creds => {<<"alice_user_is_invited_to_a_room_1146@localhost">>, <<"matygrysa">>}, method => <<"GET">>,path => <<"/api/rooms/1646-303961-875983">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:21.896 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 out <iq type='get' id='8558136c3fc25b6515c49dc60977b6a7' to='1646-303961-875983@muclight.localhost'> <query xmlns='urn:xmpp:muclight:0#affiliations'/> </iq>
*** User 2022-03-03 10:39:21.896 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in <iq from='1646-303961-875983@muclight.localhost' to='alicE_user_is_invited_to_a_room_1146@localhost/res1' id='8558136c3fc25b6515c49dc60977b6a7' type='result'> <query xmlns='urn:xmpp:muclight:0#affiliations'> <version>1646-303961-885407</version> <user affiliation='owner'>alice_user_is_invited_to_a_room_1146@localhost</user> <user affiliation='member'>bob_user_is_invited_to_a_room_1146@localhost</user> </query> </iq>
*** User 2022-03-03 10:39:21.896 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:39:21.897 *** bOb_user_is_invited_to_a_room_1146@localhost/res1 in </stream:stream>
*** User 2022-03-03 10:39:21.897 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:39:21.897 *** alicE_user_is_invited_to_a_room_1146@localhost/res1 in </stream:stream>
=== Ended at 2022-03-03 10:39:21 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result