=== Test case: muc_light_http_api_SUITE:create_unique_room/1 (click for source code)
=== Config value:
[{watchdog,<0.67844.0>},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_http_api_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b840ae5a4cd1.2024-03-11_11.24.34/big_tests.tests.muc_light_http_api_SUITE.logs/run.2024-03-11_11.35.42/muc_light_http_api_suite.create_unique_room.172674.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@b840ae5a4cd1.2024-03-11_11.24.34/big_tests.tests.muc_light_http_api_SUITE.logs/run.2024-03-11_11.35.42/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
backend => cets,buffer_max => 100,ack_freq => 1,
resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}},
{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@b840ae5a4cd1.2024-03-11_11.24.34"
=== Started at 2024-03-11 11:35:42
*** User 2024-03-11 11:35:42.239 ***🔗
alicE_create_unique_room_2526@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:35:42.239 ***🔗
alicE_create_unique_room_2526@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8136ec5fe16a3055' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:35:42.239 ***🔗
alicE_create_unique_room_2526@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-11 11:35:42.239 ***🔗
alicE_create_unique_room_2526@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NyZWF0ZV91bmlxdWVfcm9vbV8yNTI2AG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 11:35:42.240 ***🔗
alicE_create_unique_room_2526@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:35:42.240 ***🔗
alicE_create_unique_room_2526@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:35:42.241 ***🔗
alicE_create_unique_room_2526@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='acfa729d821dcea4' from='localhost' version='1.0' xml:lang='en' to='alice_create_unique_room_2526@localhost'>
*** User 2024-03-11 11:35:42.241 ***🔗
alicE_create_unique_room_2526@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-11 11:35:42.241 ***🔗
alicE_create_unique_room_2526@localhost/res1 out
<iq type='set' id='9d937e52429688bcde8e0810685ffb4e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:35:42.241 ***🔗
alicE_create_unique_room_2526@localhost/res1 in
<iq id='9d937e52429688bcde8e0810685ffb4e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_create_unique_room_2526@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:35:42.241 ***🔗
alice_create_unique_room_2526@localhost/res1 out
<iq type='set' id='ff9d9b0eb6740092cb08c09928250f36'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:35:42.242 ***🔗
alice_create_unique_room_2526@localhost/res1 in
<iq from='localhost' to='alice_create_unique_room_2526@localhost/res1' id='ff9d9b0eb6740092cb08c09928250f36' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:35:42.242 ***🔗
alice_create_unique_room_2526@localhost/res1 out
<presence/>
*** User 2024-03-11 11:35:42.243 ***🔗
alice_create_unique_room_2526@localhost/res1 in
<presence from='alice_create_unique_room_2526@localhost/res1' to='alice_create_unique_room_2526@localhost/res1'/>
*** User 2024-03-11 11:35:42.247 ***🔗
REST request:
Code: 201
Req: {<0.67896.0>,<<"/api/muc-lights/muclight.localhost">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8a362b4f6887e714">>}],
<<"{\"subject\":\"Lewis Carol\",\"owner\":\"alice_create_unique_room_2526@localhost\",\"name\":\"wonderland\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"location">>,
<<"http://localhost:8088/api/muc-lights/muclight.localhost/1710-156942-244761@muclight.localhost">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:35:42 GMT">>},
{<<"content-type">>,<<"text/html">>},
{<<"content-length">>,<<"37">>}],
<<"1710-156942-244761@muclight.localhost">>,264,3691}
Params: #{path => <<"/api/muc-lights/muclight.localhost">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"subject\":\"Lewis Carol\",\"owner\":\"alice_create_unique_room_2526@localhost\",\"name\":\"wonderland\"}">>,
method => <<"POST">>,role => admin,return_headers => true}
*** User 2024-03-11 11:35:42.247 ***🔗
alice_create_unique_room_2526@localhost/res1 out
<iq type='get' id='291eaa189e4b0efb8da15fbd1dc423f6' to='muclight.localhost'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
*** User 2024-03-11 11:35:42.249 ***🔗
alice_create_unique_room_2526@localhost/res1 in
<iq from='muclight.localhost' to='alice_create_unique_room_2526@localhost/res1' id='291eaa189e4b0efb8da15fbd1dc423f6' type='result'>
<query xmlns='http://jabber.org/protocol/disco#items'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first index='0'>1710-156942-244761@muclight.localhost</first>
<last>1710-156942-244761@muclight.localhost</last>
<count>1</count>
</set>
<item jid='1710-156942-244761@muclight.localhost' name='wonderland' version='1710-156942-244752'/>
</query>
</iq>
*** User 2024-03-11 11:35:42.249 ***🔗
alice_create_unique_room_2526@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:35:42.249 ***🔗
alice_create_unique_room_2526@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:35:42
=== successfully completed test case
=== === Returned value: ok