=== Test case: muc_http_api_SUITE:kick_user_from_room/1 (click for source code)
=== Config value:
[{watchdog,<0.1351.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_http_api_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.muc_http_api_SUITE.logs/run.2022-03-03_10.35.51/muc_http_api_suite.kick_user_from_room.34051.html"},
{tc_group_properties,[{name,positive},{repeat_until_all_ok,3},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_http_api_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_http_api_SUITE.logs/run.2022-03-03_10.35.51/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== 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:35:52
*** User 2022-03-03 10:35:52.094 ***
alicE_kick_user_from_room_945@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:35:52.094 ***
alicE_kick_user_from_room_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='584d8e4663b2b86f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:52.094 ***
alicE_kick_user_from_room_945@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:35:52.094 ***
alicE_kick_user_from_room_945@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2tpY2tfdXNlcl9mcm9tX3Jvb21fOTQ1AG1hdHlncnlzYQ==</auth>
*** User 2022-03-03 10:35:52.096 ***
alicE_kick_user_from_room_945@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:52.096 ***
alicE_kick_user_from_room_945@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:35:52.096 ***
alicE_kick_user_from_room_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6067c5ad3d39ba62' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:52.096 ***
alicE_kick_user_from_room_945@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:35:52.096 ***
alicE_kick_user_from_room_945@localhost/res1 out
<iq type='set' id='a97dc7c476809b0b4462605004bc3455'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:52.097 ***
alicE_kick_user_from_room_945@localhost/res1 in
<iq id='a97dc7c476809b0b4462605004bc3455' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_kick_user_from_room_945@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:52.097 ***
alicE_kick_user_from_room_945@localhost/res1 out
<iq type='set' id='226f381f987c58bd0c682f9b7ad4cbe3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:52.097 ***
alicE_kick_user_from_room_945@localhost/res1 in
<iq type='result' id='226f381f987c58bd0c682f9b7ad4cbe3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:52.097 ***
alicE_kick_user_from_room_945@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:52.098 ***
alicE_kick_user_from_room_945@localhost/res1 in
<presence from='alicE_kick_user_from_room_945@localhost/res1' to='alice_kick_user_from_room_945@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:52.098 ***
bOb_kick_user_from_room_945@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:35:52.099 ***
bOb_kick_user_from_room_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea45964f54ee7b7c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:52.099 ***
bOb_kick_user_from_room_945@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:35:52.099 ***
bOb_kick_user_from_room_945@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9raWNrX3VzZXJfZnJvbV9yb29tXzk0NQBtYWtyb2xpa2E=</auth>
*** User 2022-03-03 10:35:52.100 ***
bOb_kick_user_from_room_945@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:52.100 ***
bOb_kick_user_from_room_945@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:35:52.101 ***
bOb_kick_user_from_room_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b808a2e5ee5494c5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:52.101 ***
bOb_kick_user_from_room_945@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:35:52.101 ***
bOb_kick_user_from_room_945@localhost/res1 out
<iq type='set' id='94e59fe8850788206423301a578ced8e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:52.101 ***
bOb_kick_user_from_room_945@localhost/res1 in
<iq id='94e59fe8850788206423301a578ced8e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_kick_user_from_room_945@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:52.101 ***
bOb_kick_user_from_room_945@localhost/res1 out
<iq type='set' id='9b6f7104b650a30bdd110def925db2e2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:52.101 ***
bOb_kick_user_from_room_945@localhost/res1 in
<iq type='result' id='9b6f7104b650a30bdd110def925db2e2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:52.101 ***
bOb_kick_user_from_room_945@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:52.102 ***
bOb_kick_user_from_room_945@localhost/res1 in
<presence from='bOb_kick_user_from_room_945@localhost/res1' to='bob_kick_user_from_room_945@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:52.102 ***
kate_kick_user_from_room_945@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:35:52.103 ***
kate_kick_user_from_room_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='717a929c62f34a03' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:52.103 ***
kate_kick_user_from_room_945@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:35:52.103 ***
kate_kick_user_from_room_945@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfa2lja191c2VyX2Zyb21fcm9vbV85NDUAbWFrcm93ZTtw</auth>
*** User 2022-03-03 10:35:52.105 ***
kate_kick_user_from_room_945@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:52.105 ***
kate_kick_user_from_room_945@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:35:52.105 ***
kate_kick_user_from_room_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8d62487ebcff8c6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:52.105 ***
kate_kick_user_from_room_945@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:35:52.105 ***
kate_kick_user_from_room_945@localhost/res1 out
<iq type='set' id='55beae95016a91654491baefadc444a3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:52.106 ***
kate_kick_user_from_room_945@localhost/res1 in
<iq id='55beae95016a91654491baefadc444a3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_kick_user_from_room_945@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:52.106 ***
kate_kick_user_from_room_945@localhost/res1 out
<iq type='set' id='b979787c72e56d22ac23e60771019f67'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:52.106 ***
kate_kick_user_from_room_945@localhost/res1 in
<iq type='result' id='b979787c72e56d22ac23e60771019f67'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:52.106 ***
kate_kick_user_from_room_945@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:52.107 ***
kate_kick_user_from_room_945@localhost/res1 in
<presence from='kate_kick_user_from_room_945@localhost/res1' to='kate_kick_user_from_room_945@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:52.107 ***
alicE_kick_user_from_room_945@localhost/res1 out
<presence to='wonderland-52.85244@muc.localhost/alibaba'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-03 10:35:52.107 ***
alicE_kick_user_from_room_945@localhost/res1 out
<iq type='set' id='24756a150ae4f056804734dd32a9ed28' to='wonderland-52.85244@muc.localhost/alibaba'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<x xmlns='jabber:x:data' type='submit'/>
</query>
</iq>
*** User 2022-03-03 10:35:52.108 ***
alicE_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/alibaba' to='alicE_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='alicE_kick_user_from_room_945@localhost/res1' affiliation='owner' role='moderator'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.108 ***
alicE_kick_user_from_room_945@localhost/res1 in
<message from='wonderland-52.85244@muc.localhost' to='alicE_kick_user_from_room_945@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-03 10:35:52.108 ***
alicE_kick_user_from_room_945@localhost/res1 in
<iq from='wonderland-52.85244@muc.localhost' to='alicE_kick_user_from_room_945@localhost/res1' id='24756a150ae4f056804734dd32a9ed28' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2022-03-03 10:35:52.108 ***
bOb_kick_user_from_room_945@localhost/res1 out
<presence to='wonderland-52.85244@muc.localhost/bobcat'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-03 10:35:52.109 ***
bOb_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/alibaba' to='bOb_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='owner' role='moderator'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.109 ***
bOb_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/bobcat' to='bOb_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.109 ***
bOb_kick_user_from_room_945@localhost/res1 in
<message from='wonderland-52.85244@muc.localhost' to='bOb_kick_user_from_room_945@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-03 10:35:52.109 ***
alicE_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/bobcat' to='alicE_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='bOb_kick_user_from_room_945@localhost/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.109 ***
kate_kick_user_from_room_945@localhost/res1 out
<presence to='wonderland-52.85244@muc.localhost/kitkat'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-03 10:35:52.110 ***
kate_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/alibaba' to='kate_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='owner' role='moderator'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.110 ***
kate_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/bobcat' to='kate_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.110 ***
kate_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/kitkat' to='kate_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.110 ***
kate_kick_user_from_room_945@localhost/res1 in
<message from='wonderland-52.85244@muc.localhost' to='kate_kick_user_from_room_945@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-03 10:35:52.110 ***
alicE_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/kitkat' to='alicE_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='kate_kick_user_from_room_945@localhost/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.110 ***
bOb_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/kitkat' to='bOb_kick_user_from_room_945@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.112 ***
REST request:
Code: 204
Req: {<0.1445.1>,<<"/api/mucs/localhost/wonderland-52.85244/bobcat">>,
<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"22f9d5f5d0ab4122">>}],
<<>>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:35:51 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,587}
Params: #{body => <<>>,method => <<"DELETE">>,
path => <<"/api/mucs/localhost/wonderland-52.85244/bobcat">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:35:52.112 ***
bOb_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/bobcat' to='bOb_kick_user_from_room_945@localhost/res1' type='unavailable'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='none'>
<reason>Kicked through HTTP Administration API.</reason>
</item>
<status code='307'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.112 ***
kate_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/bobcat' to='kate_kick_user_from_room_945@localhost/res1' type='unavailable'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='none'>
<reason>Kicked through HTTP Administration API.</reason>
</item>
<status code='307'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.112 ***
alicE_kick_user_from_room_945@localhost/res1 in
<presence from='wonderland-52.85244@muc.localhost/bobcat' to='alicE_kick_user_from_room_945@localhost/res1' type='unavailable'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='none' jid='bOb_kick_user_from_room_945@localhost/res1'>
<reason>Kicked through HTTP Administration API.</reason>
</item>
<status code='307'/>
</x>
</presence>
*** User 2022-03-03 10:35:52.112 ***
alicE_kick_user_from_room_945@localhost/res1 in
<iq from='wonderland-52.85244@muc.localhost' to='alicE_kick_user_from_room_945@localhost/res1' id='' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2022-03-03 10:35:52.112 ***
kate_kick_user_from_room_945@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:52.113 ***
kate_kick_user_from_room_945@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:35:52.113 ***
bOb_kick_user_from_room_945@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:52.113 ***
bOb_kick_user_from_room_945@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:35:52.113 ***
alicE_kick_user_from_room_945@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:52.113 ***
alicE_kick_user_from_room_945@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:35:52
=== successfully completed test case
=== === Returned value: ok