=== Test case: muc_http_api_SUITE:create_room/1 (click for source code)
=== Config value:
[{watchdog,<0.20866.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.muc_http_api_SUITE.logs/run.2022-03-04_11.23.59/muc_http_api_suite.create_room.139010.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.muc_http_api_SUITE.logs/run.2022-03-04_11.23.59/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@88d84ff17c71.2022-03-04_11.16.52"
=== Started at 2022-03-04 11:24:00
*** User 2022-03-04 11:24:00.022 ***
alicE_create_room_1697@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-04 11:24:00.022 ***
alicE_create_room_1697@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14b4a5d9a9d94f32' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:24:00.022 ***
alicE_create_room_1697@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-04 11:24:00.022 ***
alicE_create_room_1697@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NyZWF0ZV9yb29tXzE2OTcAbWF0eWdyeXNh</auth>
*** User 2022-03-04 11:24:00.024 ***
alicE_create_room_1697@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:24:00.024 ***
alicE_create_room_1697@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-04 11:24:00.024 ***
alicE_create_room_1697@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62d74b9ec4e24866' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:24:00.024 ***
alicE_create_room_1697@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-04 11:24:00.024 ***
alicE_create_room_1697@domain.example.com/res1 out
<iq type='set' id='50cb978aa60af3d8908e1c07bbf6856e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:24:00.024 ***
alicE_create_room_1697@domain.example.com/res1 in
<iq id='50cb978aa60af3d8908e1c07bbf6856e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_create_room_1697@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:24:00.024 ***
alicE_create_room_1697@domain.example.com/res1 out
<iq type='set' id='b97915dd38a782391ff7aef124cd946a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:24:00.025 ***
alicE_create_room_1697@domain.example.com/res1 in
<iq type='result' id='b97915dd38a782391ff7aef124cd946a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:24:00.025 ***
alicE_create_room_1697@domain.example.com/res1 out
<presence/>
*** User 2022-03-04 11:24:00.026 ***
alicE_create_room_1697@domain.example.com/res1 in
<presence from='alicE_create_room_1697@domain.example.com/res1' to='alice_create_room_1697@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-04 11:24:00.033 ***
REST request:
Code: 201
Req: {<0.20930.1>,<<"/api/mucs/domain.example.com">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2e88ff56df51fe77">>}],
<<"{\"owner\":\"alicE_create_room_1697@domain.example.com\",\"nick\":\"ali\",\"name\":\"wonderland-40.14107\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"location">>,
<<"http://localhost:8088/api/mucs/domain.example.com/wonderland-40.14107">>},
{<<"date">>,<<"Fri, 04 Mar 2022 11:23:59 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"19">>}],
<<"wonderland-40.14107">>,229,6099}
Params: #{body =>
<<"{\"owner\":\"alicE_create_room_1697@domain.example.com\",\"nick\":\"ali\",\"name\":\"wonderland-40.14107\"}">>,
method => <<"POST">>,path => <<"/api/mucs/domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-04 11:24:00.033 ***
alicE_create_room_1697@domain.example.com/res1 in
<presence from='wonderland-40.14107@groupchats.domain.example.com/ali' to='alicE_create_room_1697@domain.example.com/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='alicE_create_room_1697@domain.example.com' affiliation='owner' role='moderator'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-03-04 11:24:00.033 ***
alicE_create_room_1697@domain.example.com/res1 in
<message from='wonderland-40.14107@groupchats.domain.example.com' to='alicE_create_room_1697@domain.example.com' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-04 11:24:05.033 ***
alicE_create_room_1697@domain.example.com/res1 out
<iq type='get' id='7bc5dfd197c3b6fa76150e81f8fead60' to='groupchats.domain.example.com'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2022-03-04 11:24:05.036 ***
alicE_create_room_1697@domain.example.com/res1 in
<iq from='groupchats.domain.example.com' to='alicE_create_room_1697@domain.example.com/res1' id='7bc5dfd197c3b6fa76150e81f8fead60' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<item jid='wonderland-40.10400@groupchats.domain.example.com' name='wonderland-40.10400 (1)'/>
<item jid='wonderland-40.14107@groupchats.domain.example.com' name='wonderland-40.14107 (1)'/>
<item jid='wonderland-40.15784@groupchats.domain.example.com' name='wonderland-40.15784 (1)'/>
</query>
</iq>
*** User 2022-03-04 11:24:05.037 ***
alicE_create_room_1697@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-04 11:24:05.037 ***
alicE_create_room_1697@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:24:05
=== successfully completed test case
=== === Returned value: ok