=== Test case: muc_http_api_SUITE:multiparty_multiprotocol/1 (click for source code)

=== Config value:

    [{watchdog,<0.26575.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_http_api_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.muc_http_api_SUITE.logs/run.2022-05-25_09.12.13/muc_http_api_suite.multiparty_multiprotocol.129666.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.muc_http_api_SUITE.logs/run.2022-05-25_09.12.13/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:12:14


*** CT 2022-05-25 09:12:14.104 *** View log from node mongooseim@localhost when started mongooseim@localhost_2259.html
*** CT 2022-05-25 09:12:14.105 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-05-25 09:12:14.116 ***
alicE_multiparty_multiprotocol_1934@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-25 09:12:14.116 ***
alicE_multiparty_multiprotocol_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ffeed64c97d828c1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:14.116 ***
alicE_multiparty_multiprotocol_1934@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-25 09:12:14.116 ***
alicE_multiparty_multiprotocol_1934@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX211bHRpcGFydHlfbXVsdGlwcm90b2NvbF8xOTM0AG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 09:12:14.117 ***
alicE_multiparty_multiprotocol_1934@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:14.117 ***
alicE_multiparty_multiprotocol_1934@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-25 09:12:14.118 ***
alicE_multiparty_multiprotocol_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='251f785ab4dac28d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:14.118 ***
alicE_multiparty_multiprotocol_1934@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-25 09:12:14.118 ***
alicE_multiparty_multiprotocol_1934@domain.example.com/res1 out
<iq type='set' id='7fdd3a80ccdeb0b9a7e13cfd421c5c31'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:14.118 ***
alicE_multiparty_multiprotocol_1934@domain.example.com/res1 in
<iq id='7fdd3a80ccdeb0b9a7e13cfd421c5c31' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_multiparty_multiprotocol_1934@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:14.118 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 out
<iq type='set' id='a17d6a4a8371212382f31e6d6225532c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:14.119 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<iq type='result' id='a17d6a4a8371212382f31e6d6225532c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:14.119 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:14.120 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='alice_multiparty_multiprotocol_1934@domain.example.com/res1' to='alice_multiparty_multiprotocol_1934@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:14.121 ***
bOb_multiparty_multiprotocol_1934@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-25 09:12:14.121 ***
bOb_multiparty_multiprotocol_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a0bd2344e81b753' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:14.121 ***
bOb_multiparty_multiprotocol_1934@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-25 09:12:14.121 ***
bOb_multiparty_multiprotocol_1934@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tdWx0aXBhcnR5X211bHRpcHJvdG9jb2xfMTkzNABtYWtyb2xpa2E=</auth>



*** User 2022-05-25 09:12:14.122 ***
bOb_multiparty_multiprotocol_1934@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:14.122 ***
bOb_multiparty_multiprotocol_1934@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-25 09:12:14.122 ***
bOb_multiparty_multiprotocol_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='021c63b90711dfc3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:14.122 ***
bOb_multiparty_multiprotocol_1934@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-25 09:12:14.123 ***
bOb_multiparty_multiprotocol_1934@domain.example.com/res1 out
<iq type='set' id='f8b84c7329123b6f1cbe7e0082c9453c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:14.123 ***
bOb_multiparty_multiprotocol_1934@domain.example.com/res1 in
<iq id='f8b84c7329123b6f1cbe7e0082c9453c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_multiparty_multiprotocol_1934@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:14.123 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 out
<iq type='set' id='cbac481adeac531e5acd66204b97b261'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:14.123 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<iq type='result' id='cbac481adeac531e5acd66204b97b261'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:14.123 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:14.125 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='bob_multiparty_multiprotocol_1934@domain.example.com/res1' to='bob_multiparty_multiprotocol_1934@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:14.125 ***
kate_multiparty_multiprotocol_1934@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-25 09:12:14.125 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86db968df7e49fa0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:14.126 ***
kate_multiparty_multiprotocol_1934@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-25 09:12:14.126 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbXVsdGlwYXJ0eV9tdWx0aXByb3RvY29sXzE5MzQAbWFrcm93ZTtw</auth>



*** User 2022-05-25 09:12:14.127 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:14.127 ***
kate_multiparty_multiprotocol_1934@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-25 09:12:14.127 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0fde7c76aef3dc7f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:14.127 ***
kate_multiparty_multiprotocol_1934@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-25 09:12:14.127 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 out
<iq type='set' id='7a0bacf6744af51c5e53a1db10a4db2a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:14.127 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<iq id='7a0bacf6744af51c5e53a1db10a4db2a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_multiparty_multiprotocol_1934@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:14.127 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 out
<iq type='set' id='9c3fe454fd9893fc2766d8d411ec8704'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:14.128 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<iq type='result' id='9c3fe454fd9893fc2766d8d411ec8704'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:14.128 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:14.129 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='kate_multiparty_multiprotocol_1934@domain.example.com/res1' to='kate_multiparty_multiprotocol_1934@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:14.129 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 out
<iq type='get' id='aef690ebef7ad3d18e13fd357ea97f0c' to='groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-05-25 09:12:14.131 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<iq from='groupchats.domain.example.com' to='bob_multiparty_multiprotocol_1934@domain.example.com/res1' id='aef690ebef7ad3d18e13fd357ea97f0c' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='wonderland-34.100076@groupchats.domain.example.com' name='wonderland-34.100076 (1)'/>
		<item jid='wonderland-34.102095@groupchats.domain.example.com' name='wonderland-34.102095 (2)'/>
		<item jid='wonderland-34.103679@groupchats.domain.example.com' name='wonderland-34.103679 (1)'/>
	</query>
</iq>



*** User 2022-05-25 09:12:14.134 ***
REST request:
Code: 201
Req: {<0.26660.1>,<<"/api/mucs/domain.example.com">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3b342619036fd692">>}],
      <<"{\"owner\":\"alice_multiparty_multiprotocol_1934@domain.example.com\",\"nick\":\"ali\",\"name\":\"wonderland-34.105379\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"location">>,
           <<"http://localhost:8088/api/mucs/domain.example.com/wonderland-34.105379">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:12:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"20">>}],
         <<"wonderland-34.105379">>,231,2402}
Params: #{body =>
              <<"{\"owner\":\"alice_multiparty_multiprotocol_1934@domain.example.com\",\"nick\":\"ali\",\"name\":\"wonderland-34.105379\"}">>,
          method => <<"POST">>,path => <<"/api/mucs/domain.example.com">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 09:12:14.134 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/ali' to='alice_multiparty_multiprotocol_1934@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alice_multiparty_multiprotocol_1934@domain.example.com' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-25 09:12:14.134 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='wonderland-34.105379@groupchats.domain.example.com' to='alice_multiparty_multiprotocol_1934@domain.example.com' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:12:19.135 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 out
<iq type='get' id='3841de320ec467c08e6eb6823f712568' to='groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>



*** User 2022-05-25 09:12:19.137 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<iq from='groupchats.domain.example.com' to='kate_multiparty_multiprotocol_1934@domain.example.com/res1' id='3841de320ec467c08e6eb6823f712568' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='wonderland-34.100076@groupchats.domain.example.com' name='wonderland-34.100076 (1)'/>
		<item jid='wonderland-34.103679@groupchats.domain.example.com' name='wonderland-34.103679 (1)'/>
		<item jid='wonderland-34.105379@groupchats.domain.example.com' name='wonderland-34.105379 (1)'/>
	</query>
</iq>



*** User 2022-05-25 09:12:19.138 ***
REST request:
Code: 204
Req: {<0.26684.1>,
      <<"/api/mucs/domain.example.com/wonderland-34.105379/participants">>,
      <<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"85175994df55fe1b">>}],
      <<"{\"sender\":\"alice_multiparty_multiprotocol_1934@domain.example.com\",\"recipient\":\"bob_multiparty_multiprotocol_1934@domain.example.com\",\"reason\":\"I think you'll like this room!\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:12:18 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,690}
Params: #{body =>
              <<"{\"sender\":\"alice_multiparty_multiprotocol_1934@domain.example.com\",\"recipient\":\"bob_multiparty_multiprotocol_1934@domain.example.com\",\"reason\":\"I think you'll like this room!\"}">>,
          method => <<"POST">>,
          path =>
              <<"/api/mucs/domain.example.com/wonderland-34.105379/participants">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 09:12:19.139 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='alice_multiparty_multiprotocol_1934@domain.example.com' to='bob_multiparty_multiprotocol_1934@domain.example.com'>
	<x xmlns='jabber:x:conference' jid='wonderland-34.105379@groupchats.domain.example.com' reason="I think you'll like this room!"/>
</message>



*** User 2022-05-25 09:12:19.140 ***
REST request:
Code: 204
Req: {<0.26686.1>,
      <<"/api/mucs/domain.example.com/wonderland-34.105379/participants">>,
      <<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ef681cf8fc50c6af">>}],
      <<"{\"sender\":\"alice_multiparty_multiprotocol_1934@domain.example.com\",\"recipient\":\"kate_multiparty_multiprotocol_1934@domain.example.com\",\"reason\":\"I think you'll like this room!\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:12:18 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,523}
Params: #{body =>
              <<"{\"sender\":\"alice_multiparty_multiprotocol_1934@domain.example.com\",\"recipient\":\"kate_multiparty_multiprotocol_1934@domain.example.com\",\"reason\":\"I think you'll like this room!\"}">>,
          method => <<"POST">>,
          path =>
              <<"/api/mucs/domain.example.com/wonderland-34.105379/participants">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 09:12:19.140 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='alice_multiparty_multiprotocol_1934@domain.example.com' to='kate_multiparty_multiprotocol_1934@domain.example.com'>
	<x xmlns='jabber:x:conference' jid='wonderland-34.105379@groupchats.domain.example.com' reason="I think you'll like this room!"/>
</message>



*** User 2022-05-25 09:12:19.140 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 out
<presence to='wonderland-34.105379@groupchats.domain.example.com/bobcat'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:12:19.141 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/ali' to='bob_multiparty_multiprotocol_1934@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 09:12:19.142 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/bobcat' to='bob_multiparty_multiprotocol_1934@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-25 09:12:19.142 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='wonderland-34.105379@groupchats.domain.example.com' to='bob_multiparty_multiprotocol_1934@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:12:19.142 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/bobcat' to='alice_multiparty_multiprotocol_1934@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_multiparty_multiprotocol_1934@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:12:19.142 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 out
<presence to='wonderland-34.105379@groupchats.domain.example.com/kitkat'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-25 09:12:19.143 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/ali' to='kate_multiparty_multiprotocol_1934@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-25 09:12:19.143 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/bobcat' to='kate_multiparty_multiprotocol_1934@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-25 09:12:19.143 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/kitkat' to='kate_multiparty_multiprotocol_1934@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-25 09:12:19.143 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='wonderland-34.105379@groupchats.domain.example.com' to='kate_multiparty_multiprotocol_1934@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-25 09:12:19.143 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/kitkat' to='alice_multiparty_multiprotocol_1934@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_multiparty_multiprotocol_1934@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-25 09:12:19.143 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<presence from='wonderland-34.105379@groupchats.domain.example.com/kitkat' to='bob_multiparty_multiprotocol_1934@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-25 09:12:19.145 ***
REST request:
Code: 204
Req: {<0.26688.1>,
      <<"/api/mucs/domain.example.com/wonderland-34.105379/messages">>,
      <<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2fb82f6a348da96c">>}],
      <<"{\"from\":\"alice_multiparty_multiprotocol_1934@domain.example.com\",\"body\":\"Greetings!\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:12:18 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,519}
Params: #{body =>
              <<"{\"from\":\"alice_multiparty_multiprotocol_1934@domain.example.com\",\"body\":\"Greetings!\"}">>,
          method => <<"POST">>,
          path =>
              <<"/api/mucs/domain.example.com/wonderland-34.105379/messages">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 09:12:19.145 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='wonderland-34.105379@groupchats.domain.example.com/ali' to='alice_multiparty_multiprotocol_1934@domain.example.com' type='groupchat'>
	<body>Greetings!</body>
</message>



*** User 2022-05-25 09:12:19.145 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='wonderland-34.105379@groupchats.domain.example.com/ali' to='bob_multiparty_multiprotocol_1934@domain.example.com/res1' type='groupchat'>
	<body>Greetings!</body>
</message>



*** User 2022-05-25 09:12:19.145 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='wonderland-34.105379@groupchats.domain.example.com/ali' to='kate_multiparty_multiprotocol_1934@domain.example.com/res1' type='groupchat'>
	<body>Greetings!</body>
</message>



*** User 2022-05-25 09:12:19.145 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 out
<message to='wonderland-34.105379@groupchats.domain.example.com' type='groupchat'>
	<body>I&apos;m Bob.</body>
</message>



*** User 2022-05-25 09:12:19.145 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 out
<message to='wonderland-34.105379@groupchats.domain.example.com' type='groupchat'>
	<body>I&apos;m Kate.</body>
</message>



*** User 2022-05-25 09:12:19.146 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='wonderland-34.105379@groupchats.domain.example.com/kitkat' to='alice_multiparty_multiprotocol_1934@domain.example.com' xml:lang='en' type='groupchat'>
	<body>I&apos;m Kate.</body>
</message>



*** User 2022-05-25 09:12:19.146 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
<message from='wonderland-34.105379@groupchats.domain.example.com/bobcat' to='alice_multiparty_multiprotocol_1934@domain.example.com' xml:lang='en' type='groupchat'>
	<body>I&apos;m Bob.</body>
</message>



*** User 2022-05-25 09:12:19.146 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:19.146 ***
kate_multiparty_multiprotocol_1934@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:12:19.146 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:19.146 ***
bob_multiparty_multiprotocol_1934@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:12:19.146 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:19.147 ***
alice_multiparty_multiprotocol_1934@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:12:19.149 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-05-25 09:12:19.149 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2261.html



=== Ended at 2022-05-25 09:12:19
=== successfully completed test case
=== === Returned value: ok