=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.87566.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@96ddc50d3205.2024-04-23_10.53.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_11.12.43/rest_client_suite.chat_markers_are_archived_in_room.160643.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@96ddc50d3205.2024-04-23_10.53.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_11.12.43/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_sic => #{iqdisc => one_queue},
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_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@96ddc50d3205.2024-04-23_10.53.40"
=== Started at 2024-04-23 11:12:43
*** User 2024-04-23 11:12:43.915 ***🔗
alicE_chat_markers_are_archived_in_room_3400@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-04-23 11:12:43.916 ***🔗
alicE_chat_markers_are_archived_in_room_3400@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccfc0f11cf34cbc4' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:12:43.916 ***🔗
alicE_chat_markers_are_archived_in_room_3400@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-04-23 11:12:43.916 ***🔗
alicE_chat_markers_are_archived_in_room_3400@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zNDAwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 11:12:43.918 ***🔗
alicE_chat_markers_are_archived_in_room_3400@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:12:43.918 ***🔗
alicE_chat_markers_are_archived_in_room_3400@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-04-23 11:12:43.919 ***🔗
alicE_chat_markers_are_archived_in_room_3400@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78195fb9bfe84062' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3400@localhost'>
*** User 2024-04-23 11:12:43.919 ***🔗
alicE_chat_markers_are_archived_in_room_3400@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-04-23 11:12:43.919 ***🔗
alicE_chat_markers_are_archived_in_room_3400@localhost/res1 out
<iq type='set' id='a0a514ae5ef9d6792a072f8420e943c1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:12:43.919 ***🔗
alicE_chat_markers_are_archived_in_room_3400@localhost/res1 in
<iq id='a0a514ae5ef9d6792a072f8420e943c1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_3400@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:12:43.919 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 out
<iq type='set' id='3392200c1c9562572b5a0fc4a9477964'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:12:43.920 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3400@localhost/res1' id='3392200c1c9562572b5a0fc4a9477964' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:12:43.920 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 out
<presence/>
*** User 2024-04-23 11:12:43.925 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3400@localhost/res1' to='alice_chat_markers_are_archived_in_room_3400@localhost/res1'/>
*** User 2024-04-23 11:12:43.926 ***🔗
bOb_chat_markers_are_archived_in_room_3400@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-04-23 11:12:43.928 ***🔗
bOb_chat_markers_are_archived_in_room_3400@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b710b44842e93ba' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:12:43.928 ***🔗
bOb_chat_markers_are_archived_in_room_3400@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-04-23 11:12:43.928 ***🔗
bOb_chat_markers_are_archived_in_room_3400@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzQwMABtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:12:43.931 ***🔗
bOb_chat_markers_are_archived_in_room_3400@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:12:43.931 ***🔗
bOb_chat_markers_are_archived_in_room_3400@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-04-23 11:12:43.932 ***🔗
bOb_chat_markers_are_archived_in_room_3400@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='faab7755467b0df9' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3400@localhost'>
*** User 2024-04-23 11:12:43.932 ***🔗
bOb_chat_markers_are_archived_in_room_3400@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-04-23 11:12:43.932 ***🔗
bOb_chat_markers_are_archived_in_room_3400@localhost/res1 out
<iq type='set' id='5a3453a67efa93ba4c6189c5e5879cb4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:12:43.933 ***🔗
bOb_chat_markers_are_archived_in_room_3400@localhost/res1 in
<iq id='5a3453a67efa93ba4c6189c5e5879cb4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_3400@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:12:43.933 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 out
<iq type='set' id='2377d2374afad5a1b0789393f541da77'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:12:43.934 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3400@localhost/res1' id='2377d2374afad5a1b0789393f541da77' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:12:43.934 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 out
<presence/>
*** User 2024-04-23 11:12:43.940 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3400@localhost/res1' to='bob_chat_markers_are_archived_in_room_3400@localhost/res1'/>
*** User 2024-04-23 11:12:44.008 ***🔗
REST request:
Code: 201
Req: {<0.87925.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3cbbeacfede21d3c">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzM0MDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"27">>}],
<<"{\"id\":\"1713-870763-997248\"}">>,156,12884}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_3400@localhost">>,
<<"matygrysa">>},
role => client,
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-23 11:12:44.205 ***🔗
REST request:
Code: 204
Req: {<0.87968.0>,<<"/api/rooms/1713-870763-997248/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8a6dc687f558efcb">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzM0MDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3400@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>}],
<<>>,80,190635}
Params: #{path => <<"/api/rooms/1713-870763-997248/users">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_3400@localhost">>,
<<"matygrysa">>},
role => client,
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3400@localhost\"}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-23 11:12:44.206 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 in
<message from='1713-870763-997248@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3400@localhost' id='bd4dd313-b708-4903-b983-3475f1246b9d' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1713-870764-99130</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3400@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-23 11:12:44.206 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 in
<message from='1713-870763-997248@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3400@localhost' id='bd4dd313-b708-4903-b983-3475f1246b9d' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1713-870763-997232</prev-version>
<version>1713-870764-99130</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3400@localhost</user>
</x>
<body/>
<stanza-id by='1713-870763-997248@muclight.localhost' id='C5M1K8A9DKO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-23 11:12:44.295 ***🔗
REST request:
Code: 200
Req: {<0.88288.0>,<<"/api/rooms/1713-870763-997248/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"316327b05125a0b0">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zNDAwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"e4b4dd7e-289a-48c7-abfd-4371a0aedaa2\"}">>,169,82531}
Params: #{path => <<"/api/rooms/1713-870763-997248/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_3400@localhost">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-23 11:12:44.296 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 in
<message from='1713-870763-997248@muclight.localhost/bob_chat_markers_are_archived_in_room_3400@localhost' to='alice_chat_markers_are_archived_in_room_3400@localhost' id='e4b4dd7e-289a-48c7-abfd-4371a0aedaa2' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-870763-997248@muclight.localhost' id='C5M1K8BP06O1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-23 11:12:44.296 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 in
<message from='1713-870763-997248@muclight.localhost/bob_chat_markers_are_archived_in_room_3400@localhost' to='bob_chat_markers_are_archived_in_room_3400@localhost' id='e4b4dd7e-289a-48c7-abfd-4371a0aedaa2' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-870763-997248@muclight.localhost' id='C5M1K8BP06O1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-23 11:12:44.311 ***🔗
REST request:
Code: 200
Req: {<0.88357.0>,<<"/api/rooms/1713-870763-997248/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"300bac841daf8945">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zNDAwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"e15782c3-209b-4022-a9c7-cc96f94b77a3\"}">>,169,6720}
Params: #{path => <<"/api/rooms/1713-870763-997248/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_3400@localhost">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-23 11:12:44.311 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 in
<message from='1713-870763-997248@muclight.localhost/bob_chat_markers_are_archived_in_room_3400@localhost' to='alice_chat_markers_are_archived_in_room_3400@localhost' id='e15782c3-209b-4022-a9c7-cc96f94b77a3' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-870763-997248@muclight.localhost' id='C5M1K8CFCMG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-23 11:12:44.312 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 in
<message from='1713-870763-997248@muclight.localhost/bob_chat_markers_are_archived_in_room_3400@localhost' to='bob_chat_markers_are_archived_in_room_3400@localhost' id='e15782c3-209b-4022-a9c7-cc96f94b77a3' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-870763-997248@muclight.localhost' id='C5M1K8CFCMG1' xmlns='urn:xmpp:sid:0'/>
</message>
Could not find element wait_for_parallel_writer in Config.
Could not find element archive_wait in Config.
*** User 2024-04-23 11:12:44.323 ***🔗
REST request:
Code: 200
Req: {<0.88424.0>,<<"/api/rooms/1713-870763-997248/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"79d3b90064e33178">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zNDAwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"fd31f88d-37dd-48bd-af9a-d198eb197771\"}">>,169,5506}
Params: #{path => <<"/api/rooms/1713-870763-997248/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_3400@localhost">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-23 11:12:44.324 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 in
<message from='1713-870763-997248@muclight.localhost/bob_chat_markers_are_archived_in_room_3400@localhost' to='alice_chat_markers_are_archived_in_room_3400@localhost' id='fd31f88d-37dd-48bd-af9a-d198eb197771' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-870763-997248@muclight.localhost' id='C5M1K8CI7C81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-23 11:12:44.324 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 in
<message from='1713-870763-997248@muclight.localhost/bob_chat_markers_are_archived_in_room_3400@localhost' to='bob_chat_markers_are_archived_in_room_3400@localhost' id='fd31f88d-37dd-48bd-af9a-d198eb197771' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-870763-997248@muclight.localhost' id='C5M1K8CI7C81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-23 11:12:44.397 ***🔗
REST request:
Code: 200
Req: {<0.88452.0>,<<"/api/rooms/1713-870763-997248/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"46cba5efd76da81a">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzM0MDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"858">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1713-870763-997248@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3400@localhost\",\"type\":\"affiliation\",\"timestamp\":1713870764021,\"id\":\"bd4dd313-b708-4903-b983-3475f1246b9d\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3400@localhost\",\"type\":\"message\",\"timestamp\":1713870764216,\"id\":\"e4b4dd7e-289a-48c7-abfd-4371a0aedaa2\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3400@localhost\",\"type\":\"message\",\"timestamp\":1713870764308,\"id\":\"e15782c3-209b-4022-a9c7-cc96f94b77a3\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3400@localhost\",\"type\":\"message\",\"timestamp\":1713870764319,\"id\":\"fd31f88d-37dd-48bd-af9a-d198eb197771\"}]">>,
983,67583}
Params: #{path => <<"/api/rooms/1713-870763-997248/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_3400@localhost">>,
<<"matygrysa">>},
role => client,body => <<>>,method => <<"GET">>,
return_headers => true}
*** User 2024-04-23 11:12:44.398 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 out
</stream:stream>
*** User 2024-04-23 11:12:44.398 ***🔗
bob_chat_markers_are_archived_in_room_3400@localhost/res1 in
</stream:stream>
*** User 2024-04-23 11:12:44.398 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 out
</stream:stream>
*** User 2024-04-23 11:12:44.398 ***🔗
alice_chat_markers_are_archived_in_room_3400@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 11:12:44
=== successfully completed test case
=== === Returned value: ok