=== Test case: rest_client_SUITE:user_is_removed_from_a_room/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.user_is_removed_from_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@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


*** CT 2022-03-03 10:38:20.827 *** View log from node mongooseim@localhost when started mongooseim@localhost_5016.html
*** CT 2022-03-03 10:38:20.828 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

*** User 2022-03-03 10:38:20.832 ***
alicE_user_is_removed_from_a_room_1295@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.833 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa25decd0d07febc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:20.833 ***
alicE_user_is_removed_from_a_room_1295@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.833 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfaXNfcmVtb3ZlZF9mcm9tX2Ffcm9vbV8xMjk1AG1hdHlncnlzYQ==</auth>



*** User 2022-03-03 10:38:20.835 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:38:20.835 ***
alicE_user_is_removed_from_a_room_1295@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.835 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5df72c985b806057' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:20.835 ***
alicE_user_is_removed_from_a_room_1295@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.835 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 out
<iq type='set' id='015f063e18fc1c2a2561d9e1bbdb1996'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:38:20.835 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 in
<iq id='015f063e18fc1c2a2561d9e1bbdb1996' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_user_is_removed_from_a_room_1295@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:38:20.835 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 out
<iq type='set' id='96eea24489c6b3731888eab95f669b78'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:20.836 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 in
<iq type='result' id='96eea24489c6b3731888eab95f669b78'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:20.836 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 out
<presence/>



*** User 2022-03-03 10:38:20.836 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 in
<presence from='alicE_user_is_removed_from_a_room_1295@localhost/res1' to='alice_user_is_removed_from_a_room_1295@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:38:20.837 ***
bOb_user_is_removed_from_a_room_1295@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.837 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de37139621936e78' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:20.837 ***
bOb_user_is_removed_from_a_room_1295@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.837 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2lzX3JlbW92ZWRfZnJvbV9hX3Jvb21fMTI5NQBtYWtyb2xpa2E=</auth>



*** User 2022-03-03 10:38:20.839 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:38:20.839 ***
bOb_user_is_removed_from_a_room_1295@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.839 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='42dec0a82123dfc4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:20.839 ***
bOb_user_is_removed_from_a_room_1295@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.839 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 out
<iq type='set' id='1f603a4dd496e87ef37a4a4c3e1c6077'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:38:20.839 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
<iq id='1f603a4dd496e87ef37a4a4c3e1c6077' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_user_is_removed_from_a_room_1295@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:38:20.839 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 out
<iq type='set' id='c925f02c9e94b5d0948987399baa2f1b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:20.840 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
<iq type='result' id='c925f02c9e94b5d0948987399baa2f1b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:20.840 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 out
<presence/>



*** User 2022-03-03 10:38:20.840 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
<presence from='bOb_user_is_removed_from_a_room_1295@localhost/res1' to='bob_user_is_removed_from_a_room_1295@localhost/res1' xml:lang='en'/>



*** System report during rest_client_SUITE:user_is_removed_from_a_room/1 in muc 2022-03-03 10:38:20.841 ***
=WARNING REPORT==== 3-Mar-2022::10:38:20.841761 ===
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.852 ***
REST request:
Code: 200
Req: {<0.14956.1>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"454761b17f0b3578">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfdXNlcl9pc19yZW1vdmVkX2Zyb21fYV9yb29tXzEyOTVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"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-851697\"}">>,151,1873}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_user_is_removed_from_a_room_1295@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,path => <<"/api/rooms">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** System report during rest_client_SUITE:user_is_removed_from_a_room/1 in muc 2022-03-03 10:38:20.853 ***
=WARNING REPORT==== 3-Mar-2022::10:38:20.853352 ===
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.861 ***
REST request:
Code: 204
Req: {<0.14961.1>,<<"/api/rooms/1646-303900-851697/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f7f0604c34db9da5">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfdXNlcl9pc19yZW1vdmVkX2Zyb21fYV9yb29tXzEyOTVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_user_is_removed_from_a_room_1295@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}],
         <<>>,80,2351}
Params: #{body =>
              <<"{\"user\":\"bob_user_is_removed_from_a_room_1295@localhost\"}">>,
          creds =>
              {<<"alice_user_is_removed_from_a_room_1295@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1646-303900-851697/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-03 10:38:20.862 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
<message from='1646-303900-851697@muclight.localhost' to='bob_user_is_removed_from_a_room_1295@localhost' id='d706a851-4f11-4fd3-ac08-0173f0d3e10b' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1646-303900-861237</version>
		<user affiliation='member'>bob_user_is_removed_from_a_room_1295@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-03 10:38:20.862 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 in
<message from='1646-303900-851697@muclight.localhost' to='alice_user_is_removed_from_a_room_1295@localhost' id='d706a851-4f11-4fd3-ac08-0173f0d3e10b' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-303900-851637</prev-version>
		<version>1646-303900-861237</version>
		<user affiliation='member'>bob_user_is_removed_from_a_room_1295@localhost</user>
	</x>
	<body/>
</message>



*** System report during rest_client_SUITE:user_is_removed_from_a_room/1 in muc 2022-03-03 10:38:20.863 ***
=WARNING REPORT==== 3-Mar-2022::10:38:20.863622 ===
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.875 ***
REST request:
Code: 204
Req: {<0.14966.1>,
      <<"/api/rooms/1646-303900-851697/users/bob_user_is_removed_from_a_room_1295@localhost">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3664e6413f0cbf5d">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfdXNlcl9pc19yZW1vdmVkX2Zyb21fYV9yb29tXzEyOTVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:38:20 GMT">>}],
         <<>>,80,2239}
Params: #{body => <<>>,
          creds =>
              {<<"alice_user_is_removed_from_a_room_1295@localhost">>,
               <<"matygrysa">>},
          method => <<"DELETE">>,
          path =>
              <<"/api/rooms/1646-303900-851697/users/bob_user_is_removed_from_a_room_1295@localhost">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-03 10:38:20.875 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
<message from='1646-303900-851697@muclight.localhost' to='bob_user_is_removed_from_a_room_1295@localhost' id='4aeb85d0-635e-4f5b-a4fc-09e2eda4463d' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob_user_is_removed_from_a_room_1295@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-03 10:38:20.875 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:38:20.876 ***
bOb_user_is_removed_from_a_room_1295@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:38:20.876 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:38:20.876 ***
alicE_user_is_removed_from_a_room_1295@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:38:20.878 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:38:20.878 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5016.html



=== 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