=== Test case: rest_client_SUITE:msg_is_sent_and_delivered_in_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.msg_is_sent_and_delivered_in_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:22
*** User 2022-03-03 10:39:22.297 *** alicE_msg_is_sent_and_delivered_in_room_1152@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:22.298 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a87f7fdf10b12cf4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:22.298 *** alicE_msg_is_sent_and_delivered_in_room_1152@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:22.298 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21zZ19pc19zZW50X2FuZF9kZWxpdmVyZWRfaW5fcm9vbV8xMTUyAG1hdHlncnlzYQ==</auth>
*** User 2022-03-03 10:39:22.299 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:22.299 *** alicE_msg_is_sent_and_delivered_in_room_1152@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:22.300 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='520dd296648c066d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:22.300 *** alicE_msg_is_sent_and_delivered_in_room_1152@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:22.300 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out <iq type='set' id='a1073ab049dc3e8f3fa451c844366b1a'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:39:22.300 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <iq id='a1073ab049dc3e8f3fa451c844366b1a' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:39:22.300 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out <iq type='set' id='42cb72faa7b81f5b8a6921aa0c6fc55b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:22.301 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <iq type='result' id='42cb72faa7b81f5b8a6921aa0c6fc55b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:22.301 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out <presence/>
*** User 2022-03-03 10:39:22.301 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <presence from='alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1' to='alice_msg_is_sent_and_delivered_in_room_1152@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:22.302 *** bOb_msg_is_sent_and_delivered_in_room_1152@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:22.302 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f7dd1a37adf6737' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:22.302 *** bOb_msg_is_sent_and_delivered_in_room_1152@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:22.303 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tc2dfaXNfc2VudF9hbmRfZGVsaXZlcmVkX2luX3Jvb21fMTE1MgBtYWtyb2xpa2E=</auth>
*** User 2022-03-03 10:39:22.304 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:22.304 *** bOb_msg_is_sent_and_delivered_in_room_1152@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:22.304 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='003e0a95108e8932' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:22.304 *** bOb_msg_is_sent_and_delivered_in_room_1152@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:22.304 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out <iq type='set' id='f493e61d991394ed11f8e77c0ec94bdd'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:39:22.304 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <iq id='f493e61d991394ed11f8e77c0ec94bdd' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:39:22.305 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out <iq type='set' id='10fe3861a11afb6933d2a4cc687bf5b8'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:22.305 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <iq type='result' id='10fe3861a11afb6933d2a4cc687bf5b8'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:22.305 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out <presence/>
*** User 2022-03-03 10:39:22.306 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <presence from='bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1' to='bob_msg_is_sent_and_delivered_in_room_1152@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:22.315 *** REST request: Code: 200 Req: {<0.15039.1>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c86fe85f0e346a41">>}, {<<"authorization">>, <<"Basic YWxpY2VfbXNnX2lzX3NlbnRfYW5kX2RlbGl2ZXJlZF9pbl9yb29tXzExNTJAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"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-303962-315433\"}">>,151,1813} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_msg_is_sent_and_delivered_in_room_1152@localhost">>, <<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:22.325 *** REST request: Code: 204 Req: {<0.15045.1>,<<"/api/rooms/1646-303962-315433/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"aa7a5c75209685c8">>}, {<<"authorization">>, <<"Basic YWxpY2VfbXNnX2lzX3NlbnRfYW5kX2RlbGl2ZXJlZF9pbl9yb29tXzExNTJAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"user\":\"bob_msg_is_sent_and_delivered_in_room_1152@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}], <<>>,80,2136} Params: #{body => <<"{\"user\":\"bob_msg_is_sent_and_delivered_in_room_1152@localhost\"}">>, creds => {<<"alice_msg_is_sent_and_delivered_in_room_1152@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1646-303962-315433/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:22.326 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <message from='1646-303962-315433@muclight.localhost' to='bob_msg_is_sent_and_delivered_in_room_1152@localhost' id='b7735a6a-7ef6-47aa-88b1-31fb8346cb2c' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1646-303962-325278</version> <user affiliation='member'>bob_msg_is_sent_and_delivered_in_room_1152@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:39:22.326 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <message from='1646-303962-315433@muclight.localhost' to='alice_msg_is_sent_and_delivered_in_room_1152@localhost' id='b7735a6a-7ef6-47aa-88b1-31fb8346cb2c' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1646-303962-315393</prev-version> <version>1646-303962-325278</version> <user affiliation='member'>bob_msg_is_sent_and_delivered_in_room_1152@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:39:22.335 *** REST request: Code: 200 Req: {<0.15051.1>,<<"/api/rooms/1646-303962-315433/messages">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"7f7db0b2294a29c4">>}, {<<"authorization">>, <<"Basic YWxpY2VfbXNnX2lzX3NlbnRfYW5kX2RlbGl2ZXJlZF9pbl9yb29tXzExNTJAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"body\":\"Hi all!\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"45">>}], <<"{\"id\":\"3bff0051-412b-42f7-98f3-3761bfafb58b\"}">>,169,1959} Params: #{body => <<"{\"body\":\"Hi all!\"}">>, creds => {<<"alice_msg_is_sent_and_delivered_in_room_1152@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1646-303962-315433/messages">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:22.345 *** REST request: Code: 200 Req: {<0.15057.1>,<<"/api/rooms/1646-303962-315433/messages">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"34ba32ba4f559c93">>}, {<<"authorization">>, <<"Basic Ym9iX21zZ19pc19zZW50X2FuZF9kZWxpdmVyZWRfaW5fcm9vbV8xMTUyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}], <<"{\"body\":\"Hi all!\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"45">>}], <<"{\"id\":\"b7c786af-6342-4502-891b-2352b2e27697\"}">>,169,1725} Params: #{body => <<"{\"body\":\"Hi all!\"}">>, creds => {<<"bob_msg_is_sent_and_delivered_in_room_1152@localhost">>, <<"makrolika">>}, method => <<"POST">>, path => <<"/api/rooms/1646-303962-315433/messages">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:22.345 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <message from='1646-303962-315433@muclight.localhost/alice_msg_is_sent_and_delivered_in_room_1152@localhost' to='alice_msg_is_sent_and_delivered_in_room_1152@localhost' id='3bff0051-412b-42f7-98f3-3761bfafb58b' type='groupchat'> <body>Hi all!</body> </message>
*** User 2022-03-03 10:39:22.345 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <message from='1646-303962-315433@muclight.localhost/alice_msg_is_sent_and_delivered_in_room_1152@localhost' to='bob_msg_is_sent_and_delivered_in_room_1152@localhost' id='3bff0051-412b-42f7-98f3-3761bfafb58b' type='groupchat'> <body>Hi all!</body> </message>
*** User 2022-03-03 10:39:22.345 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <message from='1646-303962-315433@muclight.localhost/bob_msg_is_sent_and_delivered_in_room_1152@localhost' to='alice_msg_is_sent_and_delivered_in_room_1152@localhost' id='b7c786af-6342-4502-891b-2352b2e27697' type='groupchat'> <body>Hi all!</body> </message>
*** User 2022-03-03 10:39:22.345 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in <message from='1646-303962-315433@muclight.localhost/bob_msg_is_sent_and_delivered_in_room_1152@localhost' to='bob_msg_is_sent_and_delivered_in_room_1152@localhost' id='b7c786af-6342-4502-891b-2352b2e27697' type='groupchat'> <body>Hi all!</body> </message>
*** User 2022-03-03 10:39:22.345 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:39:22.346 *** bOb_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in </stream:stream>
*** User 2022-03-03 10:39:22.346 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:39:22.346 *** alicE_msg_is_sent_and_delivered_in_room_1152@localhost/res1 in </stream:stream>
=== Ended at 2022-03-03 10:39:22 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result