=== Test case: muc_http_api_SUITE:multiparty_multiprotocol/1 (click for source code)
=== Config value:
[{watchdog,<0.26534.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_http_api_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.muc_http_api_SUITE.logs/run.2022-05-18_10.07.05/muc_http_api_suite.multiparty_multiprotocol.139138.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.muc_http_api_SUITE.logs/run.2022-05-18_10.07.05/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33"
=== Started at 2022-05-18 10:07:05
*** User 2022-05-18 10:07:05.539 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-18 10:07:05.540 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d0aeae64722ff88' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:05.540 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/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>SCRAM-SHA-256</mechanism>
<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-05-18 10:07:05.540 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX211bHRpcGFydHlfbXVsdGlwcm90b2NvbF8xNzg1AG1hdHlncnlzYQ==</auth>
*** User 2022-05-18 10:07:05.546 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:07:05.546 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-18 10:07:05.550 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d265fb622ea0d8ff' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:05.550 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/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-05-18 10:07:05.550 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/res1 out
<iq type='set' id='9c9925ffab50a1eaa9e4ca3a8d5a4dbd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:07:05.551 ***
alicE_multiparty_multiprotocol_1785@domain.example.com/res1 in
<iq id='9c9925ffab50a1eaa9e4ca3a8d5a4dbd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_multiparty_multiprotocol_1785@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:07:05.551 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 out
<iq type='set' id='aa4a32825d8f64d4cd1f8c57862af8c5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:05.552 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<iq type='result' id='aa4a32825d8f64d4cd1f8c57862af8c5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:05.552 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 out
<presence/>
*** User 2022-05-18 10:07:05.557 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='alice_multiparty_multiprotocol_1785@domain.example.com/res1' to='alice_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:07:05.562 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-18 10:07:05.568 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='91a6ed31af24da08' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:05.569 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/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>SCRAM-SHA-256</mechanism>
<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-05-18 10:07:05.569 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tdWx0aXBhcnR5X211bHRpcHJvdG9jb2xfMTc4NQBtYWtyb2xpa2E=</auth>
*** User 2022-05-18 10:07:05.575 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:07:05.575 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-18 10:07:05.576 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7667816298f37587' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:05.576 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/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-05-18 10:07:05.576 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/res1 out
<iq type='set' id='2091edb2ad40c5020b4a1f5f65379944'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:07:05.577 ***
bOb_multiparty_multiprotocol_1785@domain.example.com/res1 in
<iq id='2091edb2ad40c5020b4a1f5f65379944' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_multiparty_multiprotocol_1785@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:07:05.577 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 out
<iq type='set' id='5384306fe63b0e4a04bcf318759324f2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:05.580 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<iq type='result' id='5384306fe63b0e4a04bcf318759324f2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:05.580 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 out
<presence/>
*** User 2022-05-18 10:07:05.585 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='bob_multiparty_multiprotocol_1785@domain.example.com/res1' to='bob_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:07:05.590 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-18 10:07:05.592 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d78af0226667a1ac' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:05.592 ***
kate_multiparty_multiprotocol_1785@domain.example.com/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>SCRAM-SHA-256</mechanism>
<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-05-18 10:07:05.593 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbXVsdGlwYXJ0eV9tdWx0aXByb3RvY29sXzE3ODUAbWFrcm93ZTtw</auth>
*** User 2022-05-18 10:07:05.595 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:07:05.595 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-18 10:07:05.596 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='409058003b89a6b4' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:05.596 ***
kate_multiparty_multiprotocol_1785@domain.example.com/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-05-18 10:07:05.596 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<iq type='set' id='9571dfb4a73e2e78b8ec857c5f94f573'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:07:05.597 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<iq id='9571dfb4a73e2e78b8ec857c5f94f573' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_multiparty_multiprotocol_1785@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:07:05.597 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<iq type='set' id='3e9836863985ae516167e52175723f83'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:05.597 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<iq type='result' id='3e9836863985ae516167e52175723f83'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:05.597 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<presence/>
*** User 2022-05-18 10:07:05.599 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='kate_multiparty_multiprotocol_1785@domain.example.com/res1' to='kate_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:07:05.599 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 out
<iq type='get' id='4ad41446a25b4591d745e16eb56f90d1' to='groupchats.domain.example.com'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2022-05-18 10:07:05.614 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<iq from='groupchats.domain.example.com' to='bob_multiparty_multiprotocol_1785@domain.example.com/res1' id='4ad41446a25b4591d745e16eb56f90d1' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='wonderland-25.521370@groupchats.domain.example.com' name='wonderland-25.521370 (1)'/>
<item jid='wonderland-25.524402@groupchats.domain.example.com' name='wonderland-25.524402 (1)'/>
</query>
</iq>
*** User 2022-05-18 10:07:05.627 ***
REST request:
Code: 201
Req: {<0.26623.1>,<<"/api/mucs/domain.example.com">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"20b3f3409aea41b8">>}],
<<"{\"owner\":\"alice_multiparty_multiprotocol_1785@domain.example.com\",\"nick\":\"ali\",\"name\":\"wonderland-25.527107\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"location">>,
<<"http://localhost:8088/api/mucs/domain.example.com/wonderland-25.527107">>},
{<<"date">>,<<"Wed, 18 May 2022 10:07:05 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"20">>}],
<<"wonderland-25.527107">>,231,10587}
Params: #{body =>
<<"{\"owner\":\"alice_multiparty_multiprotocol_1785@domain.example.com\",\"nick\":\"ali\",\"name\":\"wonderland-25.527107\"}">>,
method => <<"POST">>,path => <<"/api/mucs/domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-18 10:07:05.627 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/ali' to='alice_multiparty_multiprotocol_1785@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='alice_multiparty_multiprotocol_1785@domain.example.com' affiliation='owner' role='moderator'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-05-18 10:07:05.629 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='wonderland-25.527107@groupchats.domain.example.com' to='alice_multiparty_multiprotocol_1785@domain.example.com' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-05-18 10:07:10.630 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<iq type='get' id='754c9e15bb3b67687b01139ebebbfb41' to='groupchats.domain.example.com'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2022-05-18 10:07:10.633 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<iq from='groupchats.domain.example.com' to='kate_multiparty_multiprotocol_1785@domain.example.com/res1' id='754c9e15bb3b67687b01139ebebbfb41' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='wonderland-25.521370@groupchats.domain.example.com' name='wonderland-25.521370 (1)'/>
<item jid='wonderland-25.524402@groupchats.domain.example.com' name='wonderland-25.524402 (1)'/>
<item jid='wonderland-25.527107@groupchats.domain.example.com' name='wonderland-25.527107 (1)'/>
</query>
</iq>
*** User 2022-05-18 10:07:10.636 ***
REST request:
Code: 204
Req: {<0.26643.1>,
<<"/api/mucs/domain.example.com/wonderland-25.527107/participants">>,
<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"799a77c330993289">>}],
<<"{\"sender\":\"alice_multiparty_multiprotocol_1785@domain.example.com\",\"recipient\":\"bob_multiparty_multiprotocol_1785@domain.example.com\",\"reason\":\"I think you'll like this room!\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 18 May 2022 10:07:10 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,1209}
Params: #{body =>
<<"{\"sender\":\"alice_multiparty_multiprotocol_1785@domain.example.com\",\"recipient\":\"bob_multiparty_multiprotocol_1785@domain.example.com\",\"reason\":\"I think you'll like this room!\"}">>,
method => <<"POST">>,
path =>
<<"/api/mucs/domain.example.com/wonderland-25.527107/participants">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-18 10:07:10.636 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='alice_multiparty_multiprotocol_1785@domain.example.com' to='bob_multiparty_multiprotocol_1785@domain.example.com'>
<x xmlns='jabber:x:conference' jid='wonderland-25.527107@groupchats.domain.example.com' reason="I think you'll like this room!"/>
</message>
*** User 2022-05-18 10:07:10.644 ***
REST request:
Code: 204
Req: {<0.26645.1>,
<<"/api/mucs/domain.example.com/wonderland-25.527107/participants">>,
<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ec3d6c3a67c0ff43">>}],
<<"{\"sender\":\"alice_multiparty_multiprotocol_1785@domain.example.com\",\"recipient\":\"kate_multiparty_multiprotocol_1785@domain.example.com\",\"reason\":\"I think you'll like this room!\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 18 May 2022 10:07:10 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,1341}
Params: #{body =>
<<"{\"sender\":\"alice_multiparty_multiprotocol_1785@domain.example.com\",\"recipient\":\"kate_multiparty_multiprotocol_1785@domain.example.com\",\"reason\":\"I think you'll like this room!\"}">>,
method => <<"POST">>,
path =>
<<"/api/mucs/domain.example.com/wonderland-25.527107/participants">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-18 10:07:10.644 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='alice_multiparty_multiprotocol_1785@domain.example.com' to='kate_multiparty_multiprotocol_1785@domain.example.com'>
<x xmlns='jabber:x:conference' jid='wonderland-25.527107@groupchats.domain.example.com' reason="I think you'll like this room!"/>
</message>
*** User 2022-05-18 10:07:10.644 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 out
<presence to='wonderland-25.527107@groupchats.domain.example.com/bobcat'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-05-18 10:07:10.646 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/ali' to='bob_multiparty_multiprotocol_1785@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='owner' role='moderator'/>
</x>
</presence>
*** User 2022-05-18 10:07:10.646 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/bobcat' to='bob_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-05-18 10:07:10.647 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='wonderland-25.527107@groupchats.domain.example.com' to='bob_multiparty_multiprotocol_1785@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-05-18 10:07:10.647 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/bobcat' to='alice_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='bob_multiparty_multiprotocol_1785@domain.example.com/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-05-18 10:07:10.647 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<presence to='wonderland-25.527107@groupchats.domain.example.com/kitkat'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-05-18 10:07:10.649 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/ali' to='kate_multiparty_multiprotocol_1785@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='owner' role='moderator'/>
</x>
</presence>
*** User 2022-05-18 10:07:10.649 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/bobcat' to='kate_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-05-18 10:07:10.649 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/kitkat' to='kate_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-05-18 10:07:10.649 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='wonderland-25.527107@groupchats.domain.example.com' to='kate_multiparty_multiprotocol_1785@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-05-18 10:07:10.649 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/kitkat' to='alice_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='kate_multiparty_multiprotocol_1785@domain.example.com/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-05-18 10:07:10.649 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<presence from='wonderland-25.527107@groupchats.domain.example.com/kitkat' to='bob_multiparty_multiprotocol_1785@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-05-18 10:07:10.652 ***
REST request:
Code: 204
Req: {<0.26647.1>,
<<"/api/mucs/domain.example.com/wonderland-25.527107/messages">>,
<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c70f51fba484ef30">>}],
<<"{\"from\":\"alice_multiparty_multiprotocol_1785@domain.example.com\",\"body\":\"Greetings!\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 18 May 2022 10:07:10 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,1628}
Params: #{body =>
<<"{\"from\":\"alice_multiparty_multiprotocol_1785@domain.example.com\",\"body\":\"Greetings!\"}">>,
method => <<"POST">>,
path =>
<<"/api/mucs/domain.example.com/wonderland-25.527107/messages">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-05-18 10:07:10.653 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='wonderland-25.527107@groupchats.domain.example.com/ali' to='alice_multiparty_multiprotocol_1785@domain.example.com' type='groupchat'>
<body>Greetings!</body>
</message>
*** User 2022-05-18 10:07:10.653 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='wonderland-25.527107@groupchats.domain.example.com/ali' to='bob_multiparty_multiprotocol_1785@domain.example.com/res1' type='groupchat'>
<body>Greetings!</body>
</message>
*** User 2022-05-18 10:07:10.653 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='wonderland-25.527107@groupchats.domain.example.com/ali' to='kate_multiparty_multiprotocol_1785@domain.example.com/res1' type='groupchat'>
<body>Greetings!</body>
</message>
*** User 2022-05-18 10:07:10.653 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 out
<message to='wonderland-25.527107@groupchats.domain.example.com' type='groupchat'>
<body>I'm Bob.</body>
</message>
*** User 2022-05-18 10:07:10.653 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
<message to='wonderland-25.527107@groupchats.domain.example.com' type='groupchat'>
<body>I'm Kate.</body>
</message>
*** User 2022-05-18 10:07:10.654 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='wonderland-25.527107@groupchats.domain.example.com/bobcat' to='alice_multiparty_multiprotocol_1785@domain.example.com' xml:lang='en' type='groupchat'>
<body>I'm Bob.</body>
</message>
*** User 2022-05-18 10:07:10.654 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
<message from='wonderland-25.527107@groupchats.domain.example.com/kitkat' to='alice_multiparty_multiprotocol_1785@domain.example.com' xml:lang='en' type='groupchat'>
<body>I'm Kate.</body>
</message>
*** User 2022-05-18 10:07:10.654 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-18 10:07:10.655 ***
kate_multiparty_multiprotocol_1785@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-18 10:07:10.655 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-18 10:07:10.655 ***
bob_multiparty_multiprotocol_1785@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-18 10:07:10.656 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-18 10:07:10.656 ***
alice_multiparty_multiprotocol_1785@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-18 10:07:10
=== successfully completed test case
=== === Returned value: ok