=== Test case: muc_light_http_api_SUITE:create_unique_room/1 (click for source code)
=== Config value:
[{watchdog,<0.2780.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_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_light_http_api_SUITE.logs/run.2022-03-03_10.36.06/muc_light_http_api_suite.create_unique_room.35971.html"},
{tc_group_properties,[{name,positive},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_light_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_light_http_api_SUITE.logs/run.2022-03-03_10.36.06/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:36:06
*** User 2022-03-03 10:36:06.802 ***
alicE_create_unique_room_949@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:36:06.802 ***
alicE_create_unique_room_949@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f26e24d0c82fc05c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:06.802 ***
alicE_create_unique_room_949@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:36:06.802 ***
alicE_create_unique_room_949@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NyZWF0ZV91bmlxdWVfcm9vbV85NDkAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:36:06.804 ***
alicE_create_unique_room_949@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:06.804 ***
alicE_create_unique_room_949@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:36:06.804 ***
alicE_create_unique_room_949@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94ff274cc96cb63d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:06.804 ***
alicE_create_unique_room_949@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:36:06.804 ***
alicE_create_unique_room_949@localhost/res1 out
<iq type='set' id='b9fa04185f406e248a42e74107432893'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:06.804 ***
alicE_create_unique_room_949@localhost/res1 in
<iq id='b9fa04185f406e248a42e74107432893' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_create_unique_room_949@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:06.805 ***
alicE_create_unique_room_949@localhost/res1 out
<iq type='set' id='714f336301b364dc3b1777e4983ee353'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:06.805 ***
alicE_create_unique_room_949@localhost/res1 in
<iq type='result' id='714f336301b364dc3b1777e4983ee353'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:06.805 ***
alicE_create_unique_room_949@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:06.806 ***
alicE_create_unique_room_949@localhost/res1 in
<presence from='alicE_create_unique_room_949@localhost/res1' to='alice_create_unique_room_949@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:06.808 ***
REST request:
Code: 201
Req: {<0.2842.1>,<<"/api/muc-lights/muclight.localhost">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8af71d6d9ee0bf28">>}],
<<"{\"subject\":\"Lewis Carol\",\"owner\":\"alicE_create_unique_room_949@localhost\",\"name\":\"wonderland\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"location">>,
<<"http://localhost:8088/api/muc-lights/muclight.localhost/1646-303766-807810@muclight.localhost">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:36:06 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"37">>}],
<<"1646-303766-807810@muclight.localhost">>,271,850}
Params: #{body =>
<<"{\"subject\":\"Lewis Carol\",\"owner\":\"alicE_create_unique_room_949@localhost\",\"name\":\"wonderland\"}">>,
method => <<"POST">>,
path => <<"/api/muc-lights/muclight.localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:36:06.808 ***
alicE_create_unique_room_949@localhost/res1 out
<iq type='get' id='4943b74fceff9f01d366dc52c44163c8' to='muclight.localhost'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2022-03-03 10:36:06.808 ***
alicE_create_unique_room_949@localhost/res1 in
<iq from='muclight.localhost' to='alicE_create_unique_room_949@localhost/res1' id='4943b74fceff9f01d366dc52c44163c8' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>1646-303766-807810@muclight.localhost</first>
<last>1646-303766-807810@muclight.localhost</last>
<count>1</count>
</set>
<item jid='1646-303766-807810@muclight.localhost' name='wonderland' version='1646-303766-807762'/>
</query>
</iq>
*** User 2022-03-03 10:36:06.809 ***
alicE_create_unique_room_949@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:06.809 ***
alicE_create_unique_room_949@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:36:06
=== successfully completed test case
=== === Returned value: ok