=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.87065.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"odbc_mssql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d2b9c060e4a6.2024-03-12_11.08.00/big_tests.tests.rest_client_SUITE.logs/run.2024-03-12_11.25.55/rest_client_suite.chat_markers_are_archived_in_room.66693.html"},
{tc_group_properties,[{name,muc},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_client_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d2b9c060e4a6.2024-03-12_11.08.00/big_tests.tests.rest_client_SUITE.logs/run.2024-03-12_11.25.55/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_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_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
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_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d2b9c060e4a6.2024-03-12_11.08.00"
=== Started at 2024-03-12 11:25:55
*** User 2024-03-12 11:25:55.825 ***🔗
alicE_chat_markers_are_archived_in_room_3265@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-12 11:25:55.827 ***🔗
alicE_chat_markers_are_archived_in_room_3265@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e99bf73b18a5adf' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 11:25:55.827 ***🔗
alicE_chat_markers_are_archived_in_room_3265@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-12 11:25:55.827 ***🔗
alicE_chat_markers_are_archived_in_room_3265@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjY1AG1hdHlncnlzYQ==</auth>
*** User 2024-03-12 11:25:55.830 ***🔗
alicE_chat_markers_are_archived_in_room_3265@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 11:25:55.830 ***🔗
alicE_chat_markers_are_archived_in_room_3265@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-12 11:25:55.830 ***🔗
alicE_chat_markers_are_archived_in_room_3265@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0731b259c3367f11' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3265@localhost'>
*** User 2024-03-12 11:25:55.830 ***🔗
alicE_chat_markers_are_archived_in_room_3265@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-12 11:25:55.831 ***🔗
alicE_chat_markers_are_archived_in_room_3265@localhost/res1 out
<iq type='set' id='05022032faaac2f27309765761e87a65'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 11:25:55.831 ***🔗
alicE_chat_markers_are_archived_in_room_3265@localhost/res1 in
<iq id='05022032faaac2f27309765761e87a65' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_3265@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 11:25:55.831 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 out
<iq type='set' id='8ae6a76c39eb2c1fba0ce4216c58df32'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:55.833 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3265@localhost/res1' id='8ae6a76c39eb2c1fba0ce4216c58df32' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:55.833 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 out
<presence/>
*** User 2024-03-12 11:25:55.841 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3265@localhost/res1' to='alice_chat_markers_are_archived_in_room_3265@localhost/res1'/>
*** User 2024-03-12 11:25:55.841 ***🔗
bOb_chat_markers_are_archived_in_room_3265@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-12 11:25:55.902 ***🔗
bOb_chat_markers_are_archived_in_room_3265@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ade30f9a69c20df5' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 11:25:55.902 ***🔗
bOb_chat_markers_are_archived_in_room_3265@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-12 11:25:55.902 ***🔗
bOb_chat_markers_are_archived_in_room_3265@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzI2NQBtYWtyb2xpa2E=</auth>
*** User 2024-03-12 11:25:55.910 ***🔗
bOb_chat_markers_are_archived_in_room_3265@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 11:25:55.910 ***🔗
bOb_chat_markers_are_archived_in_room_3265@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-12 11:25:55.910 ***🔗
bOb_chat_markers_are_archived_in_room_3265@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='289b37069c7c09d0' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3265@localhost'>
*** User 2024-03-12 11:25:55.911 ***🔗
bOb_chat_markers_are_archived_in_room_3265@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-12 11:25:55.911 ***🔗
bOb_chat_markers_are_archived_in_room_3265@localhost/res1 out
<iq type='set' id='4c3b8076eb93abae2197639bb336674d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 11:25:55.911 ***🔗
bOb_chat_markers_are_archived_in_room_3265@localhost/res1 in
<iq id='4c3b8076eb93abae2197639bb336674d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_3265@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 11:25:55.911 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 out
<iq type='set' id='e0ecef3166e75478268b93a107dc566a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:55.912 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3265@localhost/res1' id='e0ecef3166e75478268b93a107dc566a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:55.912 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 out
<presence/>
*** User 2024-03-12 11:25:55.922 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3265@localhost/res1' to='bob_chat_markers_are_archived_in_room_3265@localhost/res1'/>
*** User 2024-03-12 11:25:56.007 ***🔗
REST request:
Code: 201
Req: {<0.87585.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c0ab550597533b84">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyNjVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:55 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"27">>}],
<<"{\"id\":\"1710-242755-932920\"}">>,156,76562}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3265@localhost">>,
<<"matygrysa">>},
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
role => client,return_headers => true}
*** User 2024-03-12 11:25:56.108 ***🔗
REST request:
Code: 204
Req: {<0.87703.0>,<<"/api/rooms/1710-242755-932920/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"db9d439e0838b95c">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyNjVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3265@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:55 GMT">>}],
<<>>,80,93547}
Params: #{path => <<"/api/rooms/1710-242755-932920/users">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3265@localhost">>,
<<"matygrysa">>},
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3265@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-03-12 11:25:56.108 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 in
<message from='1710-242755-932920@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3265@localhost' id='19ce504e-c948-421b-96c3-fbd519e5b1be' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1710-242756-38522</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3265@localhost</user>
</x>
<body/>
</message>
*** User 2024-03-12 11:25:56.108 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 in
<message from='1710-242755-932920@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3265@localhost' id='19ce504e-c948-421b-96c3-fbd519e5b1be' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1710-242755-932913</prev-version>
<version>1710-242756-38522</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3265@localhost</user>
</x>
<body/>
<stanza-id by='1710-242755-932920@muclight.localhost' id='C4RKTFQ25O01' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-12 11:25:56.129 ***🔗
REST request:
Code: 200
Req: {<0.87846.0>,<<"/api/rooms/1710-242755-932920/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4a253b2da8960b7d">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjY1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:55 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"5ccbed86-76e1-4c26-8d40-5ee4c3c48daf\"}">>,169,16395}
Params: #{path => <<"/api/rooms/1710-242755-932920/messages">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3265@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
role => client,return_headers => true}
*** User 2024-03-12 11:25:56.130 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 in
<message from='1710-242755-932920@muclight.localhost/bob_chat_markers_are_archived_in_room_3265@localhost' to='alice_chat_markers_are_archived_in_room_3265@localhost' id='5ccbed86-76e1-4c26-8d40-5ee4c3c48daf' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-242755-932920@muclight.localhost' id='C4RKTFQK8AG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-12 11:25:56.130 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 in
<message from='1710-242755-932920@muclight.localhost/bob_chat_markers_are_archived_in_room_3265@localhost' to='bob_chat_markers_are_archived_in_room_3265@localhost' id='5ccbed86-76e1-4c26-8d40-5ee4c3c48daf' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-242755-932920@muclight.localhost' id='C4RKTFQK8AG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-12 11:25:56.138 ***🔗
REST request:
Code: 200
Req: {<0.87918.0>,<<"/api/rooms/1710-242755-932920/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"151704bc4c4ff738">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjY1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:55 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"057fcabb-64d6-4f92-82fa-d4021d7ae654\"}">>,169,3567}
Params: #{path => <<"/api/rooms/1710-242755-932920/messages">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3265@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
role => client,return_headers => true}
*** User 2024-03-12 11:25:56.201 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 in
<message from='1710-242755-932920@muclight.localhost/bob_chat_markers_are_archived_in_room_3265@localhost' to='alice_chat_markers_are_archived_in_room_3265@localhost' id='057fcabb-64d6-4f92-82fa-d4021d7ae654' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-242755-932920@muclight.localhost' id='C4RKTFQOV9O1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-12 11:25:56.202 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 in
<message from='1710-242755-932920@muclight.localhost/bob_chat_markers_are_archived_in_room_3265@localhost' to='bob_chat_markers_are_archived_in_room_3265@localhost' id='057fcabb-64d6-4f92-82fa-d4021d7ae654' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-242755-932920@muclight.localhost' id='C4RKTFQOV9O1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-12 11:25:56.211 ***🔗
REST request:
Code: 200
Req: {<0.87932.0>,<<"/api/rooms/1710-242755-932920/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c7e511398fb3af00">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjY1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:55 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"f3b37781-b694-46b3-9698-2db03869f2a9\"}">>,169,4126}
Params: #{path => <<"/api/rooms/1710-242755-932920/messages">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3265@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
role => client,return_headers => true}
*** User 2024-03-12 11:25:56.211 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 in
<message from='1710-242755-932920@muclight.localhost/bob_chat_markers_are_archived_in_room_3265@localhost' to='alice_chat_markers_are_archived_in_room_3265@localhost' id='f3b37781-b694-46b3-9698-2db03869f2a9' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-242755-932920@muclight.localhost' id='C4RKTFRAKKO1' xmlns='urn:xmpp:sid:0'/>
</message>
Could not find element wait_for_parallel_writer in Config.
*** User 2024-03-12 11:25:56.211 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 in
<message from='1710-242755-932920@muclight.localhost/bob_chat_markers_are_archived_in_room_3265@localhost' to='bob_chat_markers_are_archived_in_room_3265@localhost' id='f3b37781-b694-46b3-9698-2db03869f2a9' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-242755-932920@muclight.localhost' id='C4RKTFRAKKO1' xmlns='urn:xmpp:sid:0'/>
</message>
Could not find element archive_wait in Config.
*** User 2024-03-12 11:25:56.218 ***🔗
REST request:
Code: 200
Req: {<0.87969.0>,<<"/api/rooms/1710-242755-932920/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d48c9a59cc7ca5cb">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyNjVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:55 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"858">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1710-242755-932920@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3265@localhost\",\"type\":\"affiliation\",\"timestamp\":1710242756043,\"id\":\"19ce504e-c948-421b-96c3-fbd519e5b1be\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3265@localhost\",\"type\":\"message\",\"timestamp\":1710242756117,\"id\":\"5ccbed86-76e1-4c26-8d40-5ee4c3c48daf\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3265@localhost\",\"type\":\"message\",\"timestamp\":1710242756136,\"id\":\"057fcabb-64d6-4f92-82fa-d4021d7ae654\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3265@localhost\",\"type\":\"message\",\"timestamp\":1710242756209,\"id\":\"f3b37781-b694-46b3-9698-2db03869f2a9\"}]">>,
983,2105}
Params: #{path => <<"/api/rooms/1710-242755-932920/messages">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3265@localhost">>,
<<"matygrysa">>},
body => <<>>,role => client,return_headers => true}
*** User 2024-03-12 11:25:56.218 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 out
</stream:stream>
*** User 2024-03-12 11:25:56.219 ***🔗
bob_chat_markers_are_archived_in_room_3265@localhost/res1 in
</stream:stream>
*** User 2024-03-12 11:25:56.219 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 out
</stream:stream>
*** User 2024-03-12 11:25:56.219 ***🔗
alice_chat_markers_are_archived_in_room_3265@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-12 11:25:56
=== successfully completed test case
=== === Returned value: ok