=== Test case: muc_http_api_SUITE:create_room/1 (click for source code)
=== Config value:
[{watchdog,<0.22828.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.muc_http_api_SUITE.logs/run.2022-03-18_10.57.12/muc_http_api_suite.create_room.135426.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.muc_http_api_SUITE.logs/run.2022-03-18_10.57.12/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@a072b68d2bee.2022-03-18_10.50.04"
=== Started at 2022-03-18 10:57:12
*** User 2022-03-18 10:57:13.007 ***
alicE_create_room_1886@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-03-18 10:57:13.008 ***
alicE_create_room_1886@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c044c1d491d2fcc' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:57:13.008 ***
alicE_create_room_1886@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-03-18 10:57:13.008 ***
alicE_create_room_1886@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NyZWF0ZV9yb29tXzE4ODYAbWF0eWdyeXNh</auth>
*** User 2022-03-18 10:57:13.009 ***
alicE_create_room_1886@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:57:13.009 ***
alicE_create_room_1886@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-03-18 10:57:13.010 ***
alicE_create_room_1886@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e53685b985742ac0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:57:13.010 ***
alicE_create_room_1886@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-03-18 10:57:13.010 ***
alicE_create_room_1886@domain.example.com/res1 out
<iq type='set' id='dfa884a635e7c32ea90efb7a64f86d4b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:57:13.010 ***
alicE_create_room_1886@domain.example.com/res1 in
<iq id='dfa884a635e7c32ea90efb7a64f86d4b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_create_room_1886@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:57:13.010 ***
alicE_create_room_1886@domain.example.com/res1 out
<iq type='set' id='93746e2632577344f25a63a993c4b2ab'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:57:13.011 ***
alicE_create_room_1886@domain.example.com/res1 in
<iq type='result' id='93746e2632577344f25a63a993c4b2ab'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:57:13.011 ***
alicE_create_room_1886@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:57:13.012 ***
alicE_create_room_1886@domain.example.com/res1 in
<presence from='alicE_create_room_1886@domain.example.com/res1' to='alice_create_room_1886@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:57:13.021 ***
REST request:
Code: 201
Req: {<0.22891.1>,<<"/api/mucs/domain.example.com">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"71fd54ebca49576a">>}],
<<"{\"owner\":\"alicE_create_room_1886@domain.example.com\",\"nick\":\"ali\",\"name\":\"wonderland-32.993084\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"location">>,
<<"http://localhost:8088/api/mucs/domain.example.com/wonderland-32.993084">>},
{<<"date">>,<<"Fri, 18 Mar 2022 10:57:12 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"20">>}],
<<"wonderland-32.993084">>,231,7224}
Params: #{body =>
<<"{\"owner\":\"alicE_create_room_1886@domain.example.com\",\"nick\":\"ali\",\"name\":\"wonderland-32.993084\"}">>,
method => <<"POST">>,path => <<"/api/mucs/domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-18 10:57:13.022 ***
alicE_create_room_1886@domain.example.com/res1 in
<presence from='wonderland-32.993084@groupchats.domain.example.com/ali' to='alicE_create_room_1886@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='alicE_create_room_1886@domain.example.com' affiliation='owner' role='moderator'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-03-18 10:57:13.022 ***
alicE_create_room_1886@domain.example.com/res1 in
<message from='wonderland-32.993084@groupchats.domain.example.com' to='alicE_create_room_1886@domain.example.com' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-18 10:57:18.023 ***
alicE_create_room_1886@domain.example.com/res1 out
<iq type='get' id='624264106f754d4da3eb235b31e59f69' to='groupchats.domain.example.com'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2022-03-18 10:57:18.025 ***
alicE_create_room_1886@domain.example.com/res1 in
<iq from='groupchats.domain.example.com' to='alicE_create_room_1886@domain.example.com/res1' id='624264106f754d4da3eb235b31e59f69' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='wonderland-32.993084@groupchats.domain.example.com' name='wonderland-32.993084 (1)'/>
<item jid='wonderland-32.995540@groupchats.domain.example.com' name='wonderland-32.995540 (1)'/>
<item jid='wonderland-33.129@groupchats.domain.example.com' name='wonderland-33.129 (1)'/>
</query>
</iq>
*** User 2022-03-18 10:57:18.025 ***
alicE_create_room_1886@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:57:18.025 ***
alicE_create_room_1886@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-18 10:57:18
=== successfully completed test case
=== === Returned value: ok